in reply to Re^2: Date::Calc and and daylight savings time
in thread Date::Calc and and daylight savings time

It seems two things that you're missing - you need to adjust for the Germany/Berlin timezone (GMT+1), and you also (still) need to figure out when DST is active (which accounts for the two hours difference in September).

I think DateTime comes with the Olson database embedded, but maybe there are less heavyweight approaches to correcting the timestamp for DST.

  • Comment on Re^3: Date::Calc and and daylight savings time