Description
This article describes the reason behind the Header message 'FortiGate time is out of sync' seen from GUI even when the NTP status is synced.
Scope
FortiGate.
Solution
Simplify the date/time conversions by using standard IANA Time Zone Database names in order to display date/time in the browser in the correct display timezone.
Further simplified and streamlined how timezone offsets are calculated in the case that manual offset needs to be applied either for displaying a FortiGate string timestamp or saving one from the dialog.
UTC Timestamps will be able to be displayed as is, without any processing simply by using 'formatDateTime()' function from Neutrino/gui_shared.
Added a platform warning in the header to let the user know that the FortiGate time is out of sync with real time when manual time is set and it is off by more than two minutes.
diagnose sys ntp status
diagnose debug reset
diagnose debug disable
diagnose debug console timestamp enable
diagnose debug application ntpd -1
diagnose debug enable
diagnose debug disable ==========> to disable the logging.
Related articles:
Technical Tip: Setting up an NTP server and an NTP client using two FortiGates
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.