execute CLI commands

date

date

Get or set the system date.

Command syntax

execute date [<date_str>] date_str has the form mm/dd/yyyy, where

mm is the month and can be 01 to 12

dd is the day of the month and can be 01 to 31

yyyy is the year and can be 2001 to 2100

If you do not specify a date, the command returns the current system date.

Example

This example sets the date to 17 September 2004:

execute date 09/17/2004

FortiBridge Version 3.0 Administration Guide

75

09-30000-0163-20061109

Page 75
Image 75
Fortinet Version 3.0 manual Date, Execute date datestr datestr has the form mm/dd/yyyy, where, Execute date 09/17/2004