Sponsored Links

Timezones and PHP

Calendar image

Following on from an earlier post where I mentioned the large amounts of date work I have to deal with, here is the way I am dealing with time-zones in my PHP [...]

PHP dynamic year selector

PHP logo

After 2009 rolled in and all our sites failed to follow suite because  “someone” hard-coded the years — but only up to 2008 — I quickly had to write something a bit more — well, smart.

I needed an HTML drop-down box with a set of years starting from a fixed year, but extending to the current year so [...]