Why all the
rigamarole
of converting to universal time and back to local time? A little thing
we like to call Daylight savings time. Without the conversion, adding
three hours would have set the time to 3:00 AM which would be wrong.

Realizing this probably would have saved me from many hours of intense
debugging sessions. I remember one particular case with a system of
scripts and tools I set up to analyze the very large log files for a big
client. It hummed along nicely until one fine spring day when it failed
miserably. After an entire day of tracking down the source of the
problem, I finally nailed it down to a script’s mishandling of Daylight
Savings.

To find out more about proper DateTime handling, read the following
article concerning best practices with manipulating date
times.