Date, Command syntax, Example – Fortinet Version 3.0 User Manual

Page 75

Advertising
background image

execute CLI commands

date

FortiBridge Version 3.0 Administration Guide
09-30000-0163-20061109

75

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

Advertising