Command: time

Syntax

time <assign> {,<assign> ... }

Description

Declare (and optionally assign) one or more time variables.

Parameters

<ident> { = <value> }

Switches

None

Notes

If no assignment is supplied, a time identifier is initialized to the current date and time.

Examples

Declare a new time identifier, initialized to the current time.

time t

Declare 2 new time identifiers, both initialized by assignment.

time t1 = session_start, t2 = ’31-12-1989, 15:35’

Declare and initialize a time array.

time ts[] = <current_time,current_date,session_start>

See Also

Identifiers:

current_date (time), current_time (time), session_start (time)

Structures:

time