Answers for "php date to mysql timestamp"

PHP
2

php mysql timestamp format

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

php timestamp to date

<?php 
echo date('m/d/Y H:i:s', 1541843467); 
?>
Posted by: Guest on May-22-2020

Browse Popular Code Answers by Language