Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where do I find Date class in Zend Framework 2.0?

I have started my ZF2 application from Skeleton-Application. I want instance of Date class in one of my controller. I tried to search Date.php class under...

library\Zend\

but could not found. Does ZF2 has not Date.php at all or I need to palce it from somewhere else?

like image 913
Hanmant Avatar asked Sep 13 '12 07:09

Hanmant


1 Answers

Zend_Date has been removed in favor of PHP 5.3 DateTime API http://es.php.net/manual/en/book.datetime.php

like image 69
Maks3w Avatar answered Oct 13 '22 01:10

Maks3w