DCL:MISC£±:TIMELIB: Handling of Time *#:Explanation of Subroutines
Expresses a time by a character string in the format specified.
TIMEC1 : Expresses Type 1 time by a character sting.
TIMEC2 : Expresses Type 2 time by a character sting.
TIMEC3 : Expresses Type 3 time by a character sting.
CALL TIMEC1(CFORM,ITIME)
CALL TIMEC2(CFORM,ITT)
CALL TIMEC3(CFORM,IH,IM,IS)
ITIME (I) Type 1 time. IH (I) Hour. IM (I) Minute. IS (I) Second. ITT (I) Serially-counted second. CFORM (C *( *)) Time format. It is both the input and output parameter. The key characters that can be used in CFORM are: hour 'H', minute 'M', and second 'S'. For example, for ITIME=100930, CFORM='10:09:30' will be returned by calling TIMEC1 with the specification CFORM='HH:MM:SS'.