EXTRACT_DT_DAY
Function Name |
EXTRACT_DT_DAY |
---|---|
Description |
Converts a Date and Time input into an integer output for the day. |
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 day part of the Date and Time input. |
The EXTRACT_DT_DAY function works in the same way as the EXTRACT_DT_YEAR function except that it returns an integer that is formed from the day part of the Date and Time input instead of the year part. For ST Programs, a similar syntax is used:
Output := EXTRACT_DT_DAY (Input 1)