DT_TO_TOD
Function Name |
DT_TO_TOD |
---|---|
Description |
Converts a Date and Time input into a Time of Day output (the output will not include a date). |
Arguments |
Input 1 {DATE_AND_TIME} For more information on the data types for the inputs and outputs, see Data Type Hierarchy. |
Returns |
Output {TIME_OF_DAY} The output is the result of Input 1 - the Date supplied by Input 1. |
The DT_TO_TOD function works in a similar way to the DT_TO_DATE function except that it determines its output by using Time part of the Date and Time input instead of the Date part. For ST Programs, a similar syntax is used:
Output := DT_TO_TOD (Input 1)