MoeAmine MoeAmine - 1 year ago 83
PHP Question

NOW() function in PHP

Is there a PHP function that returns the date & time in the same format as the MySQL function


I know how to do it using
, but I am asking if there is a function only for this.

For example to return:

2009-12-01 00:00:00

Answer Source

Not besides date("Y-m-d H:i:s")

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download