Chapter 18 Troubleshooting : ­Troubleshooting tools : FortiOS diagnostics : Other commands : Time and date settings
  
Time and date settings
Check time and date settings for log message timestamp synchronization (the Fortinet support group may request this) and for certificates that have a time requirement to check for validity. Use the following commands:
execute time
current time is: 12:40:48
last ntp sync:Thu Mar 16 12:00:21 2006
execute date
current date is: 2006-03-16
 
To force synchronization with an NTP server, toggle the following command:
set ntpsync enable/disable
 
If all devices have the same time, it helps to correlate log entries from different devices.