Chapter 11. TIME, DATE, AND CONFIGURATION FUNCTIONS

Topics in This Chapter

  • Time and Date

  • Alternative Calendars

  • ConfigurationChapter

The functions in this section fall into three categories: time and date, alternative calendars, and configuration. The time and date functions are standard for any programming language. They allow you to get the current date in several formats. The calendar functions manipulate dates in various calendars, including ancient and obscure calendars. The configuration functions offer a way to change the configuration of PHP on a per-script basis.

Get Core PHP Programming: Using PHP to Build Dynamic Web Sites now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.