You can just extend Datetime with your current class.
PHP 5.1.x から PHP 5.2.x への移行
目次
PHP 5.1.x から PHP 5.2.x への移行
sam at silverstripe dot com
29-Jul-2007 02:22
29-Jul-2007 02: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.
