Home > Windows Server Tips > Windows Server Monitoring and Management > How to fix inconsistent time or time-zone settings
Windows Server Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

WINDOWS SERVER MONITORING AND MANAGEMENT

How to fix inconsistent time or time-zone settings


Serdar Yegulalp, Contributor
09.27.2006
Rating: -4.00- (out of 5)


Expert advice on Windows-based systems and hardware
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


Both Windows XP and Windows Server 2003 attempt to keep their system clocks current by periodically synchronizing with a remote Internet time server—either time.windows.com or time.nist.gov. They usually perform this task once a week at a randomly selected time (to prevent congestion of the time servers).

However, if your system hasn't been able to synchronize its time information for more than a week, you'll be alerted. If that happens, the problem is usually due to the remote time server being overloaded, and corrects itself in short order.

One curious issue that appears on some systems is when applications report a time that is definitely not what the system is set to. The most obvious manifestation of this is in JavaScript (including browser implementations of it), where the system reports the wrong time zone and the wrong Daylight Savings Time (DST) setting. Even more puzzling, changing the time settings in Windows has no effect.

This happens if a program inserts a TZ variable into the system's environment variables, which you can see in My Computer | Properties | Advanced | Environment Variables. A TZ environment variable (for instance, TZ=UTC+2) overrides the system time zone and DST settings for many applications, including JavaScript. . .and since this is not technically a problem, most applications do not report it as being one. A TZ setting might be manually inserted into the system environment variable pool by an application, and many applications are aware of it and will honor it without reporting that they are doing so.

You can remove the TZ variable manually. If you're not sure if it has been set, the NSTIME application will warn you if it has and can provide you with other information about your system's local time-zone settings.

About the author: Serdar Yegulalp is editor of the Windows Power Users Newsletter, which is devoted to hints, tips, tricks, news and goodies for Windows NT, Windows 2000 and Windows XP users and administrators. He has more than 10 years of Windows experience under his belt, and contributes regularly to SearchWinComputing.com and SearchSQLServer.com.

More information on this topic:


Rate this Tip
To rate tips, you must be a member of SearchWindowsServer.com.
Register now to start rating these tips. Log in if you are already a member.


Submit a Tip




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google



RELATED CONTENT
Windows Server Monitoring and Management
BitLocker in R2 provides data protection for semi-protected servers
Perfmon made easy with PAL utility
Converting Citrix XenServer source machines to Hyper-V format
Balancing Windows security with reasonable password policies
Windows AppLocker in R2: Turning conventional security wisdom on its head
Top 10 things you don't know about Windows Server 2008 R2
BranchCache makes branch offices feel like home
When to use VM backups versus snapshots in Hyper-V
Installing Server Core for Windows 2008 the easy way
Migrating virtual machines from Microsoft Virtual Server to Hyper-V

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Server Room Design - Planning, Cooling, Maintenance
HomeTopicsBlogsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2004 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts