Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

Photo
- - - - -

Change the date and timezone?


  • Please log in to reply
2 replies to this topic

#1 Crop

Crop

    CC Resident

  • Just Joined
  • PipPipPipPip
  • 59 posts

Posted 18 November 2008 - 07:35 AM

How do I change/configure the date and timezone in Linux from the console?
  • 0

#2 Guest_Jordan_*

Guest_Jordan_*
  • Guest

Posted 26 November 2008 - 05:16 AM

You can change the date like this:

# date -s "25 NOV 2008 11:00:00"

Or an easier way:

# date +%Y%m%d -s "20081125"


You can find instructions on changing the timezone here: How to Change the Timezone in Linux - wikiHow
  • 0

#3 tecktalk

tecktalk

    CC Addict

  • Just Joined
  • PipPipPipPipPip
  • 155 posts

Posted 28 November 2008 - 06:55 AM

Its so simple.. I know this command I have learnt in my Skool days :)

____________________
corporate awards thermaclear
  • 0




Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download