Answers for "php from any date format to timestamp"

PHP
2

php mysql timestamp format

date("Y-m-d H:i:s", strtotime($_POST['timestamp']));
Posted by: Guest on March-01-2020
1

mysql timestamp format php

echo date("Y-m-d H:i:s", time());
Posted by: Guest on August-31-2021

Code answers related to "php from any date format to timestamp"

Browse Popular Code Answers by Language