Friday, March 9, 2007

Ok, you are running out of time!!! Literally! Thanks, Kris, for the comment on my previous post. Here is a site that you can just point your browser to in order to find out if you need to apply a patch for DST or not. It’s really easy to do, trust me.

Click here to test!

If you are OK, you should get a screen that looks like this:

Patched for DST

If you need a patch applied, GET GOING AND GET IT DONE. Your screen will look like this (this is an actual screen shot from a machine that I know is not patched):

[click to continue…]

{ 1 comment }

The new Daylight Saving Time is almost upon us. My company is losing money now on all of the IT updates that we have to do (but that is another story, in fact, I read today that some Economic Analysts now think that the change will not save energy/money because while people won’t be using as much electricity in the evening, they WILL be using it in the morning which will offset the savings). Anyway, I was worried that a few of our servers which are running Perl scripts will be affected by the DST change. So, Googling once again, I found a Perl script that when run, will output when the system believes the time change will take place.

I cannot take credit for the script, nor can I say that it is flawless, so use at your own risk. However, I ran on several environments and got the outputs that I expected (since I have patched the machines that I ran the script on). Basically, you have to have Perl installed and you go to a DOS prompt (on Windows) or a terminal session (on Linux/Mac) and type in in the directory where you put the script:

Perl DST_check.pl

And you will get an output similar to the following:

Sun Mar 11 01:59:59 Pacific Standard Time 2007 –> Sun Mar 11 03:00:00 Daylight Time 2007
Sun Nov 04 01:59:59 Pacific Daylight Time 2007 –> Sun Nov 04 01:00:00 Pacific Standard Time 2007

[click to continue…]

{ 2 comments }