date
Get or set the FortiAnalyzer system date.
Syntax
execute date [<date_str>]
where
date_str
has the form mm/dd/yyyy
mm
is the month and can be1
to12
dd
is the day of the month and can be1
to31
yyyy
is the year and can be2001
to2037
If you do not specify a date, the command returns the current system date.
Dates entered will be validated - mm
and dd
require one or two digits, and yyyy
requires four digits. Entering fewer digits will result in an error.
Example
This example sets the date to 29 September 2020:
execute date 9/29/2020