OR
# date --set="2 OCT 2006 18:00:00"
You can also simplify format using following syntax:
# date +%Y%m%d -s "20081128"
Linux Set Time
To set time use the following syntax:
# date +%T -s "10:13:13"
To show UTC seconds since 1970-01-01
# date +%s
Set timezone...
$ tzselect
月日時分秒
date +%m%d%H%M%S
No comments:
Post a Comment