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 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.