Exactly, there is no reason why you shouldn't start using it :)
On Sep 14, 2012 8:05 AM, manisha [via Zend Framework Community]
ml-node+s634137n4656820...@n4.nabble.com wrote:
Hi,
Thank you Marco for your reply.
So does it mean we have to use implicitly PHP's DateTime class while
working
I would say, using ZF2 does not explain you to not use PHP. ;)
manisha wrote
So does it mean we have to use implicitly PHP's DateTime class while
working with Zend framwork 2 ?
-
Cheers,
--
Luke Mierzwa
--
View this message in context:
PHP 5.3 has a builtin DateTime class.
$date = new DateTime(); already represents the date at the time you
instantiated $date.
Marco Pivetta
http://twitter.com/Ocramius
http://marco-pivetta.com
On 13 September 2012 12:17, manisha [via Zend Framework Community]