time
Use this command to display or set the system time.
To use this command, your administrator account’s access control profile must have either w
or rw
permission to the sysgrp
area. For details, see Permissions.
Syntax
execute time [<time_str>]
Variable | Description | Default |
Enter the current date for the FortiWeb appliance’s time zone, using the format
If you do not specify a time, the command returns the current system time. Shortened values, such as |
No default. |
Example
This example sets the system time to 15:31:03:
execute time 15:31:03