EXTRACT_DT_SECOND
Function Name |
EXTRACT_DT_SECOND |
---|---|
Description |
Converts a Date and Time input into an integer output for the second. |
Arguments |
Input 1 {DATE_AND_TIME} For more information on the data types for the inputs and outputs, see Data Type Hierarchy. |
Returns |
Output {INT} The output is the second part of the Date and Time input. |
The EXTRACT_DT_SECOND function works in the same way as the EXTRACT_DT_YEAR function except that it returns an integer that is formed from the second part of the Date and Time input instead of the year part. For ST Programs, a similar syntax is used:
Output := EXTRACT_DT_SECOND (Input 1)