TIME

TIME

Top  Previous  Next

 

The TIME command displays the current date and time or translates a time between internal and external format.

 

 

Format

 

TIME {time}

 

TIME INTERNAL

 

 

If no time is specified, the date and time are reported in the form

 

14:30:00  12 May 1993

 

This format is fixed, regardless of use of the DATE.FORMAT command.

 

If time is specified, the converted form of this time (internal to external or vice versa) is reported.

 

The TIME INTERNAL form displays the current time in internal form (seconds since midnight).

 

 

See DATE for an alternative format date and time report.

 

 

@SYSTEM.RETURN.CODE is not affected by this command.