Fabric OS Reference
1-51
Telnet Commands
1
date
Display or set the switch date and time.
Synopsis
date ["newDate"]
Availability
All users (display)
admin (set)
Description
Use this command with no operands to display date and time. Use the
newdate
operand to set the
date and time. Date and time are specified as a string in the format:
"
mmddhhmmyy
"
where:
mm is the month, valid values are 01-12
dd is the date, valid values are 01-31
hh is the hour, valid values are 00-23
mm is minutes, valid values are 00-59
yy is the year, valid values are 00-99
Year values greater than 69 are interpreted as 1970-1999, year values less than 70 are interpreted as
2000-2069.
The date function does not support daylight saving time or time zones.
All switches maintain current date and time in flash memory. Date and time are used for logging
events. Switch operation does not depend on the date and time; a switch with an incorrect date
value still functions properly.
Operands
This command has the following operand:
newDate
Specify the new date and time in quotation marks. This operand is optional.
Example
To display the current date and time, then change it to Feb 27 12:30:00 2001:
See Also
errLogShow
portLogShow
uptime
switch:admin> date
Fri Jan 29 17:01:48 1999
switch:admin> date "0227123001"
Thu Feb 27 12:30:00 2001
Summary of Contents for StorageWorks 8B - FC Entry Switch
Page 1: ...reference manual version 3 0 fabric os www hp com ...
Page 14: ...xiv Fabric OS Reference ...
Page 189: ...Fabric OS Reference 1 175 Telnet Commands 1 portCfgLongDistance portCfgTrunkport portCfgSpeed ...
Page 302: ...1 288 Fabric OS Reference Telnet Commands 1 ...
Page 342: ...Index 4 Fabric OS Reference ...