You can just extend Datetime with your current class.
Migrating from PHP 5.1.x to PHP 5.2.x
Table of Contents
Migrating from PHP 5.1.x to PHP 5.2.x
sam at silverstripe dot com
28-Jul-2007 05:22
28-Jul-2007 05:22
PHP 5.2 introduced a new class, Datetime. If you already had a class in your app called Datetime then you're in trouble.
