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_AND_TIME¶
64-bit combined date and time of day value.
Note
LDATE_AND_TIME 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 (millisecond resolution) |
Default |
|
IEC 61131-3 |
Section 2.3.1 (Edition 3) |
Support |
Supported (requires |
Example¶
Literals¶
LDT#2024-01-15-14:30:00
LDATE_AND_TIME#2024-12-31-23:59:59
See Also¶
DATE_AND_TIME — 32-bit date and time
LDATE — 64-bit calendar date (Edition 3)
LTIME_OF_DAY — 64-bit time of day (Edition 3)
LTIME — 64-bit duration (Edition 3)