O'Reilly logo

Sams Teach Yourself PHP, MySQL and Apache: All in One, Third Edition by Julie Meloni

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

Chapter 10. Working with Strings, Dates, and Time

No matter how rich web content becomes, HTML lies behind it all, pushing string-based content out to web browsers. It is no accident, then, that PHP provides many functions with which you can format and manipulate strings. Similarly, dates and times are so much a part of everyday life that it becomes easy to use them without thinking. However, because the quirks of the Gregorian calendar can be difficult to work with, PHP provides powerful tools that make date manipulation an easy task.

Numerous PHP functions are available to you, and this chapter does not begin to cover all of them. However, this chapter does provide a foundation for using some of the basic string, date, and time functions, and ...

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