News Feed
Jobs Feed
Sections




News Archive
Zend Framework By Examples:
Handling dates and times (Zend_Date)
January 22, 2010 @ 11:09:45

The Zend Framework By Examples site has posted a recent tutorial about using the Zend_Date component of the Zend Framework to work with dates and times in your PHP applications.

In this example, we get or set dates in different timezones. We display parts of dates and times in various formats. We also get information on sunrise and sunset in several locations.

They also incorporate other components in the examples including Zend_Cache, Zend_Locate and Zend_Registry. Their examples show how to check the locale, verify the timezone and figure out a "date from now". Complete code is included - it's not the best method to handle some parts of the example, but it's a rough guide in the right direction.

1 comment voice your opinion now!
zenddate zendframework tutorial timezone


blog comments powered by Disqus

Similar Posts

DevShed: Working with Directory Iterators and Proxy Classes with PHP 5

Stas Malyshev's Blog: ZF Oauth Provider

PHPEveryDay.com: Five New Tutorials

Kevin Schroeder's Blog: ZendCon 2010 Podcast - Introducing Zend Framework 2.0

Zend Developer Zone: Action Helpers in Zend Framework


Community Events











Don't see your event here?
Let us know!


interview object tool framework language podcast composer development conference zendframework2 introduction release opinion code testing unittest community example series functional

All content copyright, 2013 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework