Go Back   Linux Forums by TotalPenguin! Get linux Help! > Linux > Linux General

Linux General Any questions that are not covered by other forums go here.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-18-2008, 03:35 PM
Member
 
Join Date: Jan 2007
Posts: 62
Crop is on a distinguished road
Default Change the date and timezone?

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

Sponsored Links
  #2 (permalink)  
Old 11-26-2008, 01:16 PM
Jordan's Avatar
Administrator
 
Join Date: Nov 2006
Posts: 570
Jordan is on a distinguished road
Default

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
Reply With Quote
  #3 (permalink)  
Old 11-28-2008, 02:55 PM
Member
 
Join Date: Jul 2008
Posts: 61
tecktalk is on a distinguished road
Default

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

____________________
corporate awards thermaclear
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Shell Script Date YYYYMMDD Format Tor Shell Scripts 2 08-27-2008 03:01 AM
Change a username? Prog Linux Security 7 06-22-2008 02:02 PM
Print System TimeZone X03 Shell Scripts 1 05-26-2008 03:30 PM
Your First Date With Vbespy kernel Linux News 0 08-13-2007 10:46 AM
Change my Windows Manager Crop Linux General 1 01-21-2007 05:48 PM


All times are GMT. The time now is 05:55 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.