Posts

Showing posts from April 2, 2019

NOW() function in PHP

Image
428 80 Is there a PHP function that returns the date & time in the same format as the MySQL function NOW() ? I know how to do it using date() , but I am asking if there is a function only for this. For example to return: 2009-12-01 00:00:00 php datetime time timestamp share | improve this question edited Apr 5 '15 at 16:20 vaxquis 7,778 5 39 58 asked Jan 3 '10 at 17:07 MoeAmine MoeAmine 2,392 2 13 17