Time stamps and daylight
Here’s a free tip for you:
If you’re iterating through calendar days with Unix timestamps, don’t just add 86,400 seconds (60*60*24) to the timestamp. If you do, you’ll get messed up with Daylight Saving Time.
P.S. Did you know it’s “Daylight Saving Time”, not “Daylight Savings Time”?