Last Update: Sep 17, 2024 | Published: Jan 07, 2009
Summer clock (Daylight Savings Time or DST) in Israel for 2005
On the 1st of April Israel will be switching to Daylight Savings Time (aka “Summer clock”) and as every year we are facing the need to update our servers and workstations with new settings based upon our government’s current political position.
That’s right ! Israel is rather special when it comes to summer clock – the actual dates of summer clock’s beginning and ending are decided every year in Knesset, so we, the sysadmins, every year have to update our environment with the new settings.
This year’s dates are:
For a 2006 version of this document and Time Zone tool please read Summer clock in Israel for 2006.
The common practice is to use tzedit.exe utility from the NT4 Resource Kit, which updates the registry on the machine you run the tool on.
This year I have decided to take a slightly different approach. Heck, scripting the update for the clients and running around is not exactly my cup of tea. This year I fired Visual Studio and decided to write something that will let me do the updates without any client intervention. It was also a good opportunity to give a test ride to VB.NET (I’m not a coder and most of what I write is VBScript, Batch, BASH, etc…).
I ended up with application I called TZ2005. What you will find inside is an executable and the source code (please be gentle – this IS my first time with VB.NET). The application requires .NET Framework, which you can get from HERE.
So how do you use it ? Well, this is rather self-explaining:
Updates the computer with Israel Daylight Savings settings for year 2005 tz2005.exe [hostname] [/restore] /? Displays this help. /restore Restores Microsoft's original settings. Running the executable without arguments will update localhost to new Daylight Savings settings.
You can update a remote host by running something like:
Or you can restore the Microsoft's original settings by running:
Some caveats: