Here's the PHP date format needed to create a date that is compatible with MySQL or MariaDB's DATETIME type.
$mysqldatetime = date( 'Y-m-d H:i:s', $phpdate );
Coding, photography, Rants & Boats
Just another WordPress site
Here's the PHP date format needed to create a date that is compatible with MySQL or MariaDB's DATETIME type.
$mysqldatetime = date( 'Y-m-d H:i:s', $phpdate );