I've found a few problems in applications I've been doing where methods like DateTime::diff would be of much assistance, but my host with PHP 5.2 does not support DateTime::diff or any other from 5.3.
Can anyone point to a class implementation similar to PHP's DateTime class from v5.3, but working for PHP 5.2?
Thanks in advance
I use following wrapper class in my php5.2 apps: http://pastebin.ca/2051944. Untill php5.3 was released - it saves much my time