Text Size
   
Home Technology | complicates our life Linux Stuffs How to change Timestamp in Linux
Sep 06
Monday

 

 

          edzofcit.com

 

What's Hot

Tudlo

Tudlo is the easy way to find and review about events, places and establishment.  Everybody knows that asking someone is the best way to find places and establishments. Tudlo collects and organize these recommendations in one convenient site -- and that is Tudlo.com.

Playing

Playing

  • Tribal Wars
  • Call of Duty 4
  • NFS Most Wanted
  • CNC Generals
  • Kanes Wrath
.

Watching

Watching

  • Smallville
  • Heroes
  • Terminator(Sarah Chronicles)
  • Chuck
  • Dexterk
.

Doing

Doing

  • IP Telephony
  • Open Source Technology
  • Web Development
  • Asterisk
.
How to change Timestamp in Linux PDF  | Print |  E-mail
User Rating: / 1
PoorBest 
Written by Administrator   
Thursday, 15 January 2009 08:23

Setting or changing the current timestamp in Linux OS is as easy as counting 1 to 3. To know this steps, just continue reading on.

 

Timestamps in Linux is set through /etc/localtime . It's link to /usr/share/zoneinfo/ directory. In there you can find different timezones in which you belong. Some of the zones under zoneinfo/ directory are, Asia , Astralia, Europe, etc.. You can find your place in this format, Continent / Place. To give you an idea, it goes like this:

ex. My country is Philippines.

ln -sf /usr/share/zoneinfo/your/zone /etc/localtime

 I replace my zone with Asia / Manila since I'm from The Philippines. So the complete command is :

#ln -sf /usr/share/zoneinfo/Asia/Manila

 

If you're using old systems, the path for your zone may be /usr/lib/zoneinfo.

 

Last Updated ( Tuesday, 14 July 2009 06:08 )
 
Comments (3)
Debian
3 Wednesday, 28 January 2009 06:57
Administrator
Yes, its applicable to debian. Just find its timezone file.
You can also use this command:
/usr/bin/tzselect
Debian
2 Wednesday, 28 January 2009 06:46
Linux User
I think its applicable to debian. Just test it.
Debian
1 Wednesday, 28 January 2009 06:40
Jimmy
Is this applicable with debian.? Thanks..

Add your comment

Your name:
Subject:
Comment:
Home Technology | complicates our life Linux Stuffs How to change Timestamp in Linux