Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

For some reason Web does not include tzutil. You must have R2 to access this utility.

This is frustrating because I need to change the time according to different timezones.

How can I use the "time" command to change the time based on an input timezone (like GMT-6 or possibly "Central Standard Time") ?

share|improve this question
1  
What version is the operating system for the machine in question? –  newmanth Sep 17 '12 at 13:12
    
Windows Web Server 2008 –  reefine Sep 17 '12 at 21:57
add comment

1 Answer

up vote 3 down vote accepted

Windows Vista and Server 2008 RTM did not ship with a way to change time zones via script. Microsoft fixed this by releasing KB2556308. This hotfix will give you the TZUtil command-line tool.

share|improve this answer
    
When I try to install I get "This update does not apply to your system" –  reefine Sep 18 '12 at 8:01
1  
A couple of things to watch out for: First, the hotfix only applies to 2008 RTM or SP2; it doesn't appear to support SP1 (so you'll need to upgrade the service pack if that is the case). Second, make sure you're running the correct version of the hotfix. If you're like me, you're downloading the file from your workstation to move to the server. Microsoft tries to "detect" which version you need based on the calling machine. Be sure to select "Show hotfixes for all platforms and languages" to see all of the versions and pick the correct one based on your sever type. –  newmanth Sep 18 '12 at 15:34
    
You are a boss. Thanks for the help. –  reefine Sep 19 '12 at 6:22
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.