Is there a PHP function that returns the date and time in the same format as the MySQL function
I know how to do it using
date(), but I am asking if there is a function only for this.
For example, to return:
You can use the date function:
Answered By – troelskn