Fortinet white logo
Fortinet white logo

CLI Reference

execute date

execute date

Use this command to get or set the system date.

execute date [<yyyy-mm-dd>]   yyyy: 2001-2037, mm: 1-12, dd: 1-31.

Example

This is sample output from the command:

# execute date

current date is: 2018-08-08

execute date

execute date

Use this command to get or set the system date.

execute date [<yyyy-mm-dd>]   yyyy: 2001-2037, mm: 1-12, dd: 1-31.

Example

This is sample output from the command:

# execute date

current date is: 2018-08-08