Topic: DMD0037 DTOFFSET - Add Offset to Date/Time |
|
|
|
The Add Offset to Date/Time (DTOFFSET) instruction adds a specified amount of time to the contents of a Date/Time structure.
Note: use the Copy Memory Range (MEMCOPY) instruction to copy from one Data/Time structure to another.
|
|
Parameters:Note: Use the F9 key (Element Browser) or Down-Arrow key (Auto-Complete) at any time to see a complete list of the memory locations that are valid in the current field of the instruction.
Starting Date/Time - designates the Date/Time structure that contains the beginning Date and Time. This can be any of the system-defined Date/Time structure, or any user-defined Date/Time structure.
Offset - designates the amount
of time to add to the Starting Date/Time
Ending Date/Time - designates a Date/Time structure to store the result. This can be any of the system-defined User Date/Time structures, or any user-defined Date/Time structure.
|
|
|
|
Status Display:The status display shows the Offset value fully-qualified values for Date/Time both structures.
|
|
|
|
See Also:
|
|
|
|
Related Topics:
|
|
|
|
Rung Example:
|
|
|