In one of my recent projects I had to compare disparate time formats within an archiving script. As always, Google proved immensely helpful, leading me toPHP Function Libraries: Date and Time on FAQTs, which provides solutions to many (un)common date/time manipulation questions.
The PHP Knowledgebase should prove to be a great resource down the line.