%TIME Function
%TIME built-in function converts the value of an expression from character, numeric, or timestamp data to type time. If no expression is specified, the current system time is returned.
**%TIME** ((Expression {, *ISO | *HMS | *USA | *EUR | *JIS}))
Parameters
Expression
Optional. Expression can be character, numeric, or timestamp data to be converted to type time.
*ISO, *HMS, *USA, *EUR, *JIS
Optional. This is the time format of character and numeric input. If Expression is a timestamp, do not specify this parameter as the system knows the format of the input. The default for character and numeric input is *ISO format.
Remarks
The converted value remains unchanged but is returned as a time. If no Expression is specified, the current system time is returned. Regardless of the input format, the resulting value is *ISO time format.