Time commands

Time commands allow you to set or synchronize the date and time on the Management server.

Note: To avoid time drift on Virtual Appliances, run NTP on the host and guest. Running NTP sets the system time to UTC. Do not use the time set clock command to reset time on a Virtual Appliance.
Table 1.
Command name Action Syntax
time set

Sets individual time and date components relative to the time zone you choose. The Management server restarts after you issue this command using the clock parameter.

If you do not know the syntax for a specific time zone, choose the last option and do not specify a value for zone.

time set { { | clock<string> } | { zone<zone>} | { zone} }
Example 1:
  • time set clock<string>
  • User input: time set clock Sat Jan 1 00:00:00 2005
Example 2:
  • time set zone<zone>
  • User input: time set zone America/Los_Angeles
time show

Display all time settings or individual time components (the current time, date, or time zone).

time show