Previous Topic: @GET ExampleNext Topic: #GETIME Syntax


#GETIME—gets time and date from the operating system

The #GETIME statement obtains the time and date from the operating system. The system time is returned to the issuing task in binary absolute, binary formatted, packed decimal, or edited format, as specified by the task. The date is returned to the program in packed decimal format.

After completion of the #GETIME request, a user-defined register and register 1 contain the following time and date information: