(PHP 3>= 3.0.12, PHP 4 >= 4.0.0)
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() examples
|