TACL Reference Manual

UTILS:TACL Commands and Functions
HP NonStop TACL Reference Manual429513-018
8-39
_CONTIME_TO_TEXT Function
_CONTIME_TO_TEXT Function
Use the _CONTIME_TO_TEXT function to convert a numeric date and time to a
textual date and 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 returns the textual date and time representation of the seven-
number date and time returned by the #CONTIME Built-In Function on page 9-75.
Example
This example outputs the date and time in a textual format:
14> PUSH var
15> SET VARIABLE var [#CONTIME [#TIMESTAMP] ]
16> #OUTPUT [_CONTIME_TO_TEXT [var] ]
November 21, 1992 14:35:20
_CONTIME_TO_TEXT contime-list