LDATE Constants

Overview

Use the LDATE constant to specify a date.

Syntax

ld#<date declaration>

Instead of ld# you can also use the following:

  • LD#

  • ldate#

  • LDATE#

Enter the date declaration in format <date keyword>#<year>-<month>-<day>.

LDATE values are internally handled as LWORD values, containing the time span in seconds since 01.01.1970, 00:00 clock, with an upper limit of DATE#2554-7-21.

Examples

LDATE#2018-8-8
LD#1996-05-06

For further information, refer to the description of the Date and Time Data Types.