Time, Command syntax, Example – Fortinet Version 3.0 User Manual

Page 81

Advertising
background image

execute CLI commands

time

FortiBridge Version 3.0 Administration Guide
09-30000-0163-20061109

81

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

Advertising