- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: why should I use UTC instead of Localtime
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-20-2008 04:49 AM
тАО11-20-2008 04:49 AM
1
on ntp client why should I use UTC instead of Localtime or vice versa ?
some of the ntp client configured as Localtime, and some are configured as UTC, and both group shows right time, and no problem.
2
on ntp Server why should I use UTC instead of Localtime or vice versa ?
Regards
Maaz
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-20-2008 05:04 AM
тАО11-20-2008 05:04 AM
SolutionUTC also makes it easier to change the time if you're using Daylight Savings. It makes the transaction for some time critical software easier since you aren't really changing the real time, you're just changing timezone.
I would go for UTC, it's the most generic time you can get :)
My 2 cents on the issue :)
Best regards
Fredrik Eriksson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-20-2008 05:34 AM
тАО11-20-2008 05:34 AM
Re: why should I use UTC instead of Localtime
dzump -v
2) It does not matter the time zone that you use on the NTP server. The NTP server should have the time zone that match your region. NTP and machines always will work internally in UTC time, the date/time displayed to the user depends of the timezone that adds the "offset" required.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-21-2008 03:11 AM
тАО11-21-2008 03:11 AM
Re: why should I use UTC instead of Localtime
# zdump -v UZT | grep $(date +%y)
PKT -9223372036854775808 = NULL
PKT -9223372036854689408 = NULL
what does the
-9223372036854775808 = NULL
-9223372036854689408 = NULL
means ?
and in /etc/sysconfig/clock
HWCLOCK="-utc"
or
HWCLOCK="-u"
whats right ?
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-21-2008 04:12 AM
тАО11-21-2008 04:12 AM
Re: why should I use UTC instead of Localtime
>> -9223372036854775808 = NULL
>> -9223372036854689408 = NULL
>> means ?
Probably that the zone specified does not exists. Use UTC in your command instead UZT.
>> and in /etc/sysconfig/clock
>> HWCLOCK="-utc"
>> or
>> HWCLOCK="-u"
>> whats right ?
I don't know about that value, Red Hat uses:
http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/en-US/Reference_Guide/s2-sysconfig-clock.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-22-2008 02:27 AM
тАО11-22-2008 02:27 AM
Re: why should I use UTC instead of Localtime
# zdump -v Asia/Karachi
Asia/Karachi -9223372036854775808 = NULL
Asia/Karachi -9223372036854689408 = NULL
Asia/Karachi Mon Dec 31 19:31:47 1906 UTC = Mon Dec 31 23:59:59 1906 PKT isdst=0 gmtoff=16092
Asia/Karachi Mon Dec 31 19:31:48 1906 UTC = Tue Jan 1 01:01:48 1907 PKT isdst=0 gmtoff=19800
Asia/Karachi Sun Oct 14 17:29:59 1945 UTC = Sun Oct 14 23:59:59 1945 PKST isdst=1 gmtoff=23400
Asia/Karachi Sun Oct 14 17:30:00 1945 UTC = Sun Oct 14 23:00:00 1945 PKT isdst=0 gmtoff=19800
Asia/Karachi Sat Sep 29 18:29:59 1951 UTC = Sat Sep 29 23:59:59 1951 PKT isdst=0 gmtoff=19800
Asia/Karachi Sat Oct 5 18:00:59 2002 UTC = Sun Oct 6 00:00:59 2002 PKST isdst=1 gmtoff=21600
Asia/Karachi Sat Oct 5 18:01:00 2002 UTC = Sat Oct 5 23:01:00 2002 PKT isdst=0 gmtoff=18000
Asia/Karachi 9223372036854689407 = NULL
Asia/Karachi 9223372036854775807 = NULL
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-22-2008 03:13 AM
тАО11-22-2008 03:13 AM
Re: why should I use UTC instead of Localtime
Asia/Karachi Mon Dec 31 19:31:47 1906 UTC = Mon Dec 31 23:59:59 1906 PKT isdst=0 gmtoff=16092
Asia/Karachi Mon Dec 31 19:31:48 1906 UTC = Tue Jan 1 01:01:48 1907 PKT isdst=0 gmtoff=19800
In Dec 31, at 23:59, the time will go to Jan 1 01:01. The same information is displayed for UTC time (UTC = )