User Manual

Table Of Contents
335
Product Manual Managing with the CLI
date
Usage
date
date-amod[-d<date>][-t<time>][-z<timezone>]
Summary
The date command allows the user to view and modify the system time.
Options
-a<action> Whichactiontoperform.
list (Default)Displaysthecurrentsystemtime.
mod Modiesthecurrentsystemtime.
-d<date> Usedtospeciesdateinthefollowingformat:yyyy/mm/ddwhere
month’srangeis1-12andday’srangeis1-31.
-t<time> Usedtospeciestimeinthefollowingformat:hh:mm:sswhere
hour’srangeis0-23,minute’sandseconds’rangeare0-59.
-z<timezone> Specifythetimezone.ThetimezonerangeisGMT-12~GMT12.
Examples
date
date -a mod -d 2004/02/25 -t 14:50:05
date -a mod -z GMT-8