Interesting discovery!

DateTime class can be really helpful. Recently I have used diff() method to calculate distance between two dates with DateInterval.