Cisco Cisco Packet Data Gateway (PDG)
show clock
Displays the current system data and time.
Product
All
Privilege
Security Administrator, Administrator, Operator, Inspector
Command Modes
Exec
The following prompt is displayed in the Exec mode:
[local]
host_name
#
Syntax Description
show clock [ universal ] [ | { grep grep_options | more } ]
universal
Displays the date and time in universal coordinated time (UTC/GMT) format.
| { grep grep_options | more }
Pipes (sends) the output of this command to the specified command. You must specify a command to which
the output of this command will be sent.
the output of this command will be sent.
For details on the usage of grep and more, refer to the Regulating a Command Output section of the Command
Line Interface Overview chapter.
Line Interface Overview chapter.
Usage Guidelines
Check the current time of a chassis to compare with network wide time or for logging purposes if network
accounting and/or event records appear to have inconsistent timestamps.
accounting and/or event records appear to have inconsistent timestamps.
This command is not supported on all platforms.
Important
Examples
The following displays the system time in local time and UTC, respectively.
show clock
show clock universal
show clock
show clock universal
Command Line Interface Reference, Modes E - F, StarOS Release 19
955
Exec Mode show Commands (A-C)
show clock