(PHP3 >= 3.0.12, PHP4 >= 4.0b2)
strtotime -- Parse about any english textual datetime description into a UNIX timestampint strtotime
(string time [, int
now])
The function expects to be given a string containing an english date format and will try to parse that format into a UNIX timestamp.
Example 1. Strtotime() example
|