PHP - strtotime example

strtotime - Converts textual datetime into Unix timestamp.

Separator is a dot (.), European date format (only 4 digit years)

Separator is a slash (/), American date format

Separator is a dash (-), European date format

Comments