HP VPN Firewall Appliances Getting Started Command Reference

54
add-time: Specifies a time to be added to the standard time of the device, in the hh:mm:ss format. Zeros
can be omitted, unless you specify 00:00:00.
Usage guidelines
The interval between start-time start-date and end-time end-date must be longer than one day and shorter
than one year. If the current system time is in the specified daylight saving days, the add-time value
automatically adds to the system time.
To verify the setting, use the display clock command.
The timestamps in system messages are adjusted in reference to the time zone and daylight saving
schedule.
Examples
# Set the system time ahead one hour every year after 2011 (inclusive) for the period from August 1 at
06:00:00 to September 1 at 06:00:00.
<Sysname> system-view
[Sysname] clock summer-time abc2 repeating 06:00:00 08/01/2011 06:00:00 09/01/2011
01:00:00
Related commands
clock datetime
clock summer-time one-off
clock timezone
display clock
clock timezone
Use clock timezone to set the local time zone.
Use undo clock timezone to restore the local time zone to the default UTC time zone.
Syntax
clock timezone zone-name { add | minus } zone-offset
undo clock timezone
Default
The local time zone is UTC zone.
Views
System view
Default command level
3: Manage level
Parameters
zone-name: Specifies a time zone by its name, a case-sensitive string of 1 to 32 characters.
add: Adds a specified offset to UTC.
minus: Subtracts a specified offset to UTC.
zone-offset: Specifies an offset to the UTC, in the hh:mm:ss format. Zeros can be omitted, unless you
specify 00:00:00.