strtotime

(PHP3 >= 3.0.12, PHP4 >= 4.0b2)

strtotime --  Parse about any english textual datetime description into a UNIX timestamp

Description

int 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


echo strtotime ("10 march 2000") . "\n";