LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   /etc/localtime and /etc/timezone (https://www.linuxquestions.org/questions/linux-newbie-8/etc-localtime-and-etc-timezone-722838/)

JockVSJock 04-30-2009 09:21 PM

/etc/localtime and /etc/timezone
 
What is the difference between these two?

Really can't find any clear explanation under Google and I am able to cat the contents of /etc/timezone, which leads me to believe that is where I set the timezone values, correct?

If that is the case, what is localtime used for?

thanks

DragonSlayer48DX 05-01-2009 02:33 PM

Timezone tells your system where you are in the world. i.e. GMT-4 or GMT+2 (depending on your exact location on the planet).

Localtime tells your system exactly what time it is at your location.


All times are GMT -5. The time now is 04:18 AM.