Answers for "how to print sql date using php"

PHP
1

php get current datetime mysql format

date('Y-m-d H:i:s');
Posted by: Guest on April-22-2020
0

print date in php

// Change the line below to your timezone!
date_default_timezone_set('Australia/Melbourne');
$date = date('m/d/Y h:i:s a', time());
Posted by: Guest on September-25-2021

Browse Popular Code Answers by Language