Appendix F. Date Functions

Dates are typically seen as strings that represent a calendar date, but the date data type is a scalar number in PHP and most other programming languages. Dates are the subject of extensive international discourse and standards because systems must be able to agree on transaction dates and timestamps.

The conversion process from date to string data types and vice versa is an interesting process. Programming languages take common approaches by providing libraries that enable you to format date variables into various human-readable strings and create date variable types from string and int data type variables.

This appendix introduces the PHP 5 date management library functions. They are summarized in Table F-1 and then ...

Get Oracle Database 10g Express Edition PHP Web Programming now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.