Attention

IronPLC implements many parts of the IEC 61131-3 standard and is working toward full Structured Text support. Key features still missing include arrays and structures. Try it out in the IronPLC Playground.

LDATE

64-bit calendar date value.

Note

LDATE is an IEC 61131-3:2013 (Edition 3) type. You must pass --std-iec-61131-3=2013 to the compiler. See ironplcc for details.

Size

64 bits (day resolution)

Default

LDATE#0001-01-01

IEC 61131-3

Section 2.3.1 (Edition 3)

Support

Supported (requires --std-iec-61131-3=2013)

Example

Literals

LDATE#2024-01-15
LDATE#2024-12-31

See Also