I had an issue recently where I needed to calculate the Unix timestamp for the daylight savings time boundaries. According to the United States Naval Observatory, daylight savings time begins the Second Sunday of March and ends on the First Sunday of November.
Awkward date calculations if you don’t have the magical strtotime() function in PHP. [...]
Tower Of Power
Far Too Sweet To Be Sour

