Answers for "php get date for mysql date"

PHP
0

php date from mysql and date

$phpdate = strtotime( $mysqldate );
$mysqldate = date( 'Y-m-d H:i:s', $phpdate );
Posted by: Guest on January-13-2021
1

php get current datetime mysql format

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

Browse Popular Code Answers by Language