Answers for "get date only mysql php"

PHP
0

only date in php

date('Y:m:d', strtotime($date))
Posted by: Guest on July-03-2020
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