September 2001
Intermediate to advanced
768 pages
32h 45m
English
The date and time functions provide the ability to read the system time in various formats and to manipulate date information.
If you’re unfamiliar with date programming, it may be useful to know the following terms. The UNIX epoch is 00:00.00, January 1, 1970, Coordinated Universal Time (UTC).A UNIX timestamp (often just called a timestamp) is the number of seconds since the UNIX epoch. In most current applications, this number is stored as a 32-bit integer, meaning that it will be valid until early 2038 as is. Many people expect the world to move on to 64-bit systems by then, however.
These functions are available by default when PHP is built; you don’t have to give a special argument to the configure script ...
Read now
Unlock full access