Technical Tip: Retrieve Daylight Saving Time [DST] start and end date/time according to the currently configured time zone
| Description | This article describes how to retrieve and verify the daylight saving time [DST] start and end date/time data according to the currently configured time zone on FortiGate. |
| Scope | FortiOS v6 and v7. |
| Solution | In FortiOS, daylight saving time [DST] is enabled by default so that the system can adjust itself automatically. For example: Time Zone (GMT+1:00) with DST start and end:
show system global | grep time set timezone 28 <-- 28 (GMT+1:00) Brussels, Copenhagen, Madrid, Paris
FortiOS does not have daylight saving time dates for GMT+3 time zone as, at the time this article was written, daylight saving time does not apply to that time zone.
set timezone 38 <-- 38 (GMT+3:00) Kuwait, Riyadh
To disable the DST feature on the FortiGate, such as because DST has been modified or no longer applies to a given time zone, run the following configuration in the CLI:
config system global set dst disable end |
