05
Jan
10

linux set date

date -s "5 JAN 2010 18:00:00"

or

date set="5 JAN 2010 18:00:00"

or

date +%Y%m%d -s "20101128"

date +%T -s "10:13:13"

date +%T%p -s "6:10:30AM"

date +%T%p -s "12:10:30PM"


0 Responses to “linux set date”



  1. Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Latest Tweets

January 2010
S M T W T F S
« Dec   Feb »
 12
3456789
10111213141516
17181920212223
24252627282930
31  

Blog Stats

  • 47,320 hits

%d bloggers like this: