Guardian Procedure Calls Reference Manual
TIME Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameter
Considerations
Related Programming Manual
Summary
The TIME procedure provides the current date and time in integer form.
Syntax for C Programmers
#include <cextdecs(TIME)>
void TIME ( short _near *date-and-time );
Syntax for TAL Programmers
CALL TIME ( date-and-time ); ! o
Parameter
date-and-time
output
INT:ref:7
returns an array with the current date and time in this form:
(1983, 1984, ... )year[0]date-and-time
(1-12)month[1]
(1-31)day[2]
(0-23)hour[3]
(0-59)minute[4]
(0-59)second[5]
(0-99).01 sec[6]
Considerations
This procedure uses the 48-bit timestamp as the basis for determining the date and time. For a
description of this form of timestamp, see TIMESTAMP Procedure (page 1424).
Related Programming Manual
For programming information about the TIME utility procedure, see the Guardian Programmer's
Guide.
1420 Guardian Procedure Calls (T-V)