How to set up your FortiDB : Setting the system time
 
Setting the system time
Setting the system time ensure correct report time ranges, scheduling, and logging.
To set the system time using the web UI
1. In the left-side navigation menu, click System > System Information.
2. In the System Time information, click Change.
The Time Settings page is displayed.
3. Use the following options to change the time settings:
Refresh
Updates the display with the current FortiDB system date and time.
Time Zone
Select the FortiDB unit's time zone.
Select Automatically adjust clock for daylight saving changes to automatically switch the clock between daylight saving time and standard time.
Note: Changes to the time zone setting do not take affect until after you reboot FortiDB.
Set Time
Sets the FortiDB system date and time using the values you specify for Year, Month, Day, Hour, Minute and Second.
Synchronize with NTP Server
Configures FortiDB to automatically update its system date and time using an NTP server.
For Server, enter the IP address or domain name of an NTP server.
To find an NTP server that you can use, go to http://www.ntp.org.
For Sync Interval, specify how often the FortiDB unit synchronizes its time with the NTP server, in minutes.
For example, to synchronize its time once a day, enter 1440.
4. Select OK.
To set the system time using the CLI
1. To set the time zone, execute the following command:
config system global
set daylightsavetime {enable | disable}
set timezone <timezone_number>
end
where:
{enable | disable} specifies whether FortiDB automatically switched to daylight savings time
<timezone_number> is a number that specifies the time zone (enter ? to list time zones and their numbers)
For example, to turn daylight saving time and chooses the Eastern timezone for US & Canada:
config system global
set daylightsavetime enable
set timezone 12
end
2. To set a network protocol (NTP) server, execute the following command:
config system ntp
set server <server_ip>
set status {enable | disable}
end
set sync_interval <minutes>
end
where:
<server_ip> is the IP address or fully qualified domain name of the NTP server
{enable | disable} specifies whether the server is enabled
<minutes> is a value in minutes that specifies how often the FortiDB system synchronizes its time with the NTP server
For example:
config system ntp
set server 172.30.62.81
set status enable
end
set sync_interval 120
end
For information on manually setting the time using the CLI, see “execute time”.
See also
System information and settings