Answers for "php datetime from 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
0

php datetime from timestamp

$ts = 1171502725;
$date = new DateTime("@$ts");
Posted by: Guest on May-11-2021

Code answers related to "php datetime from format to timestamp"

Browse Popular Code Answers by Language