Skip to content

strtotime ​

php
number strtotime ( number $date )

Parses most English textual date and time descriptions into a Unix timestamp.

Example:

php
$date ='22.10.2010';
print(strtotime($date));

Example result:

1287698400