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.
SUB_DATE_DATE¶
Returns the difference between two dates as a duration.
IEC 61131-3 |
Section 2.5.1.5.8 |
Support |
Supported |
Signatures¶
# |
Input (IN1) |
Input (IN2) |
Return Type |
Support |
|---|---|---|---|---|
1 |
|
|
|
Supported |
Description¶
Returns the difference IN1 minus IN2 as a TIME duration in
milliseconds. The internal subtraction is in seconds, then converted
to milliseconds.
Example¶
See Also¶
SUB_DT_DT — difference between two datetimes