in reply to Date::Manip and daylight savings
I have not looked at the DateTime module and it has been a very long time sense I’ve gone through the Date::Manip Modules. However if I was encoding it I would probably handle the problem by subtracting a day from epoch either by coding daylight saving time in my application (bad as it will not be dynamic) if I thought I could reliable predicts when it is going to be. However, day light savings time can be affected by politics like what happened in Russia. I would recommend looking for a reliable source for Time Zone information something like an Atomic Clock from a government web site and write my application to pull the data from the source and make your own calculations.
Sorry I don’t have any specific code for you, but I hope I gave you some ideas…