FortiSwitch-5003A CLI reference execute
FortiSwitch-5003A and 5003 Fabric and Base Backplane Communications Guide
01-30000-85717-20081205 107
date
Display or set the system date.
Syntax
execute date [<date_str>]
date_str has the form mm/dd/yyyy, where
• mm is the month and can be 1 to 12
• dd is the day of the month and can be 1 to 31
• yyyy is the year and can be from 2001 to 2037
If you do not specify a date, the command returns the current system date. Shortened values for the
year, such as ‘06’ instead of ‘2006’ are not valid. Shortened values for the month and year are valid.
Examples
This example sets the date to 17 September 2009:
execute date 9/17/2009
Related topics
• config system global
• execute time