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:
Note: The return-time location can be defined by the FORMAT parameter as a variable field name rather than a register number; in this instance, register 0 will still contain the time value or return-time address, as described above.
|
Copyright © 2014 CA.
All rights reserved.
|
|