Date – Brocade Fabric OS Command Reference (Supporting Fabric OS v7.3.0) User Manual
Page 264
234
Fabric OS Command Reference
53-1003131-01
date
2
date
Displays or sets the switch date and time.
SYNOPSIS
date ["newdate"]
DESCRIPTION
Use this command to display or set the date and time. All switches maintain current date and time in flash 
memory. Date and time are used for logging events. Normal switch operation does not depend on the 
date and time; a switch with incorrect date values continues to function properly.
This command sets a common date and time for the entire fabric. A change in date or time to one switch 
is forwarded to the principal switch and distributed to the fabric. It may take up to 64 seconds for the 
switches in the fabric to be synchronized. However, if an FCS policy is enabled, this command can be 
executed only on the Primary FCS switch, and only the primary FCS switch can distribute the time stamp 
to all other switches in the fabric.
If Virtual Fabrics are enabled, the date is set for the entire chassis, including all logical switches.
The date specified is always the local switch time, taking into account daylight saving time and the time 
zone setup of the switch. Each switch takes care of converting the GMT time distributed fabric-wide to its 
local time. Refer to tsTimeZone for more information on time zone support.
If the switch is operating in FICON Management Server mode (fmsMode), setting the date is subject to 
the director clock alert mode (DCAM). If DCAM is 1, the operator issues a warning that the switch date is 
about to change. The operator then prompts to confirm the change with a yes or no response. 
NOTES
This command becomes read-only if external NTP synchronization is enabled. For more information, 
refer to tsClockServer.
The execution of this command is subject to Virtual Fabric or Admin Domain restrictions that may be in 
place. Refer to Chapter 1, "Using Fabric OS Commands" and Appendix A, "Command Availability" for 
details.
OPERANDS
This command has the following operand:
"newdate"
Specify the new date and time enclosed in double quotation marks. this operand is 
optional; if omitted, the current date and time is displayed. Date and time are 
specified as a string in the mmddhhmmyy format.
mm
Specifies the month. Valid values are 01 to 12.
dd
Specifies the date. Valid values are 01 to 31.
hh
Specifies the hour. Valid values are 00 to 23.
mm
Specifies the minutes. Valid values are 00 to 59.
yy
Specifies the year, valid values are 00 to 37 and 70 to 99. Year values from 70 to 
99 are interpreted as 1970 to 1999; year values from 00 to 37 are interpreted as 
2000 to 2037.