[Dshield] Daylight Saving Time Reminder

Hakon Alstadheim hakon at cyberglobe.net
Tue Oct 30 19:06:59 GMT 2001

> Hash: SHA1
>   Please make sure you are using the correct time zone. For US users, 
> daylight savings time ended last weekend.
>   UCT offsets (non-daylight-savings time)
>      Eastern: -05:00

In your perl-script of choice, do the following if your timezone is
an integral number of hours off from UTC:

$tz= (timelocal(localtime($time)) - timelocal(gmtime($time)))/3600;

This will of course be off for the entries in your log entered before
changeover, but submitted after the changeover.

More information about the list mailing list