System information
93
DWS-1008 CLI Reference Guide
D-Link Systems, Inc.
IP Services Commands
Usage: The day of week is automatically calculated from the day you set. The time displayed
by the CLI after you type the command might be slightly later than the time you enter
due to the interval between when you press Enter and when the CLI reads and
displays the new time and date.
Configure summertime before you set the time and date. Otherwise, summertime’s adjustment
of the time will make the time incorrect, if the date is within the summertime period.
Examples: The following command sets the date to March 13, 2003 and time to 11:11:12:
DWS-1008# set timedate date feb 29 2004 time 23:58:00
Time now is: Sun Feb 29 2004, 23:58:02 PST
set timezone
Sets the number of hours, and optionally the number of minutes, that the DWS-1008 switch’s
real-time clock is offset from Coordinated Universal Time (UTC). These values are also used
by Network Time Protocol (NTP), if it is enabled.
Syntax: set timezone zone-name {-hours [minutes]}
zone-name Time zone name of up to 32 alphabetic characters. You can use a
standard name or any name you like.
- Minus time to indicate hours (and minutes) to be subtracted from UTC.
Otherwise, hours and minutes are added by default.
hours Number of hours to add or subtract from UTC.
minutes Number of minutes to add or subtract from UTC.
Defaults: If this command is not used, then the default time zone is UTC.
Access: Enabled
Examples: To set the time zone for Pacific Standard Time (PST), type the following
command:
DWS-1008# set timezone PST -8
Timezone is set to ‘PST’, offset from UTC is -8:0 hours.










