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.
ADD_DT_TIME¶
Adds a duration to a date-and-time value.
IEC 61131-3 |
Section 2.5.1.5.8 |
Support |
Supported |
Signatures¶
# |
Input (IN1) |
Input (IN2) |
Return Type |
Support |
|---|---|---|---|---|
1 |
|
|
|
Supported |
Description¶
Returns a new DATE_AND_TIME offset from IN1 by the duration IN2.
The duration is converted from milliseconds to seconds before being added.
Example¶
See Also¶
SUB_DT_TIME — subtract duration from datetime
SUB_DT_DT — difference between two datetimes