ProAnswers.org

How to convert date to timestamp in PHP?

How to convert date to timestamp in PHP?
How do I get timestamp from e.g. 22-09-2008?

1 Like

php’s strtotime()

gives

$timestamp = strtotime('22-09-2008');