O'Reilly logo

PHP Programming with PEAR by Stoyan Stefanov, Carsten Lucke

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

PEAR's date and time section provides three very powerful packages. Each package is well designed and helps you develop applications that are fast and effective. A big advantage of the three packages is that you can use them in combination with each other without fearing incompatibilities. Both the PEAR::Calendar and Date_Holidays packages are able to use PEAR::Date classes. PHP's native date and time functions are certainly faster but if you want an object-oriented API that is comfortable and powerful at the same time, the date packages are a very good solution.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required