NewTimeOfDay - Manual - SIMATIC AX - Datetime functions. - System.DateTime,library

System.DateTime library

Portfolio
SIMATIC AX
Product
SIMATIC AX
Software version
7.0.17
Edition
08/2025
Language
English (original)
Package Name
@ax/system-datetime

Provides a LTIME_OF_DAY output value from given inputs.

If the return value is FALSE, one of the input parameters is out of range.

Parameters:

Name Type Section Description
hour INT Input The hour. Range 0..23
minute INT Input The minute. Range 0..59
second INT Input The second. Range 0..59
millisecond INT Input The millisecond. Range 0..999
microsecond INT Input The microsecond. Range 0..999
nanosecond INT Input The nanosecond. Range 0..999
value LTIME_OF_DAY Output The LTIME_OF_DAY value of the specified inputs.
BOOL Return value TRUE if all input values are in range, else FALSE.