Answers for "date format from timestamp php"

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 "date format from timestamp php"

Browse Popular Code Answers by Language