TACL Reference Manual

UTILS:TACL Commands and Functions
HP NonStop TACL Reference Manual429513-018
8-41
_CONTIME_TO_TEXT_TIME Function
_CONTIME_TO_TEXT_TIME Function
Use the _CONTIME_TO_TEXT_TIME function to convert a numeric date and time to a
textual time.
contime-list
is the date and time represented as seven numbers in this format:
yyyy mm dd hh mm ss hh
Result
_CONTIME_TO_TEXT_TIME returns the textual representation of the time portion of
the seven-number date and time representation returned by the #CONTIME Built-In
Function on page 9-75.
Example
This example outputs the time in a textual format:
14> PUSH var
15> SET VARIABLE var [#CONTIME [#TIMESTAMP] ]
16> #OUTPUT [_CONTIME_TO_TEXT_TIME [var] ]
14:35:20
_CONTIME_TO_TEXT_TIME contime-list