Flexo
0
Q:

php mysql datetime

date("Y-m-d H:i:s")
2

<?php
$date = new DateTime('2000-01-01');
echo $date->format('Y-m-d H:i:s');
?>

1

New to Communities?

Join the community