The following table lists date and time intrinsic subroutines.
| Name | Description |
|---|---|
| CPU_TIME | Returns the processor time in seconds. |
| DATE | Returns the ASCII representation of the current date (in dd-mmm-yy form). |
| DATE_AND_TIME | Returns the date and time. This is the preferred procedure for date and time. |
| IDATE | Returns three integer values representing the current month, day, and year. |
| SYSTEM_CLOCK | Returns data from the system clock. |
| TIME | Returns the ASCII representation of the current time (in hh:mm:ss form). |
The portability routines GETDAT, GETTIM, SETDAT, and SETTIM also supply this functionality.