execute CLI commands

time

time

Get or set the system time.

Command syntax

execute time [<time_str>]

time_str has the form hh:mm:ss, where

hh is the hour and can be 00 to 23

mm is the minutes and can be 00 to 59

ss is the seconds and can be 00 to 59

If you do not specify a time, the command returns the current system time.

Example

This example sets the system time to 15:31:03:

execute time 15:31:03

FortiBridge Version 3.0 Administration Guide

81

09-30000-0163-20061109

Page 81
Image 81
Fortinet Version 3.0 manual Time, Execute time timestr