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
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.
