NewDateAndTime(LDATE, LTIME_OF_DAY) : BOOL - Manual - SIMATIC AX - Datetime functions. - System.DateTime,library

System.DateTime library

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

Provides a LDATE_AND_TIME output value of the specified LDATE and LTIME_OF_DAY.

If the return value is FALSE the output value is out of range of the datatype LDATE_AND_TIME.

Parameters:

Name Type Section Description
d LDATE Input The date.
t LTIME_OF_DAY Input The time of day.
value LDATE_AND_TIME Output The LDATE_AND_TIME value of the specified inputs.
BOOL Return value TRUE if the value was in range of LDATE_AND_TIME, else FALSE.