March 10-12, 2010
Montreal, Canada

Advanced Date/Time handling with PHP

PHP 5.2 and PHP 5.3 introduce new powerful date and time handling functionality. This new functionality allows you to deal with many issues that arise when you are developing a web applications.

This session covers all of the new functionality that is now available. It presents ways on how to deal with timezones: converting between timezones, which timezones to use, updating the database that contains information about timezones and daylight savings time. Then I will proceed to how to deal with parsing strings containing date/time information, modifying parsed information
and formatting dates and times. I will also present time diffing and interval functionality. As last part of the session I will introduce some tips and tricks that make dealing with dates and times even easier.

View all 132 sessions

Derick Rethans

Derick Rethans is a PHP internals expert and author of Xdebug. He works as an independent contractor and consultant on PHP extensions, the PHP language, and related projects.

He works for the PHP Foundation to improve PHP, and continues to contribute to the PHP project in numerous forms. He is a frequent lecturer at conferences, the author of php|architect's Guide to Date and Time Programming, and the co-author of PHP 5 Power Programming.

Read More