TIMEDATE()

TIMEDATE()

Top  Previous  Next

 

The TIMEDATE() function returns the current time and date as a string.

 

 

Format

 

TIMEDATE()

 

 

The TIMEDATE() function returns the current time and date as a 20 character string in the form

 

hh:mm:ss dd mmm yyyy

 

where

 

hhhours in 24 hour format, zero filled
mmminutes, zero filled
ssseconds, zero filled
ddday of month, zero filled
mmmfirst three letters of the month name, first letter uppercase
yyyyyear

 

 

Example

 

DISPLAY @(60, 0) : TIMEDATE()

 

This statement displays the time and date at the top right of the display.