Attention

IronPLC implements many parts of the IEC 61131-3 standard and is working toward full Structured Text support. Key features still missing include structures and user defined function blocks.

LDATE_AND_TIME

64-bit combined date and time of day value.

Note

This feature requires IEC 61131-3 Edition 3. Use --dialect iec61131-3-ed3 or the rusty dialect to enable it. See Enabling Dialects and Features for details.

Size

64 bits (millisecond resolution)

Default

LDT#0001-01-01-00:00:00

IEC 61131-3

Section 2.3.1 (Edition 3)

Support

Supported (Edition 3)

Example

Literals

LDT#2024-01-15-14:30:00
LDATE_AND_TIME#2024-12-31-23:59:59

See Also