Closed Thread
Results 1 to 3 of 3

Thread: Change the date and timezone?

  1. #1
    Crop is offline Learning Programmer
    Join Date
    Jan 2007
    Posts
    62
    Rep Power
    0

    Change the date and timezone?

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

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    Jordan Guest
    You can change the date like this:

    Code:
    # date -s "25 NOV 2008 11:00:00"
    Or an easier way:

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

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

  4. #3
    tecktalk is offline Programmer
    Join Date
    May 2008
    Posts
    179
    Rep Power
    0
    Its so simple.. I know this command I have learnt in my Skool days

    ____________________
    corporate awards thermaclear

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 3
    Last Post: 10-20-2011, 06:11 PM
  2. how to change date to yyyy-mm-dd and reverse?
    By Hamed in forum PHP Development
    Replies: 1
    Last Post: 12-24-2010, 11:44 AM
  3. Change date and time format
    By WhyLinux in forum Linux/Unix General
    Replies: 3
    Last Post: 06-18-2009, 08:16 AM
  4. change date and time of the computer
    By YAR in forum C# Programming
    Replies: 1
    Last Post: 01-24-2009, 12:35 AM
  5. Print System TimeZone
    By X03 in forum Bash / Shell Scripting
    Replies: 1
    Last Post: 05-26-2008, 07:30 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts