8.3.3 TIMEC1/TIMEC2/TIMEC3

1.
Function
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.
2.
Call
CALL TIMEC1(CFORM,ITIME)
CALL TIMEC2(CFORM,ITT)
CALL TIMEC3(CFORM,IH,IM,IS)
3.
Explanation of Parameters
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'.
4.
Notes
(a)
To be precise,  the section between the first and last key character to appear is replaced by a character string according to the specified time format. Therefore, writing 'HHHHH/MMMM' is  essentially the same as writing 'HAAAH/MBBM'.