An Introduction to the PHP DateInterval Class

The PHP DateInterval class is a powerful tool that will help you work with dates, intervals and durations in your web apps much easier.