LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Setting system time to UTC (https://www.linuxquestions.org/questions/linux-general-1/setting-system-time-to-utc-171917/)

triley 04-19-2004 01:08 AM

Setting system time to UTC
 
I'm trying to set my system time on a redhat 9 box to UTC. I can use the redhat-config-time utility to set the time and check the UTC box. After setting the time, I run "date" in a terminal and I show EDT time, not UTC. How do you set the system time to UTC? Thanks.

ekman 04-19-2004 12:39 PM

# date
Mon Apr 19 19:39:04 CEST 2004
# mv /etc/localtime /etc/localtime.save
# date
Mon Apr 19 17:39:11 UTC 2004

Regards,
L Ekman

lemon09 08-25-2009 07:56 PM

Quote:

Originally Posted by ekman (Post 887225)
# date
Mon Apr 19 19:39:04 CEST 2004
# mv /etc/localtime /etc/localtime.save
# date
Mon Apr 19 17:39:11 UTC 2004

just as a matter of fact can you please say how it works.


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