Is there a PHP function that returns the date and time in the same format as the MySQL function NOW()?
NOW()
I know how to do it using date(), b
date()
If you want to get time now including AM / PM
It outputs 2020-05-01 05:45:28 pm
2020-05-01 05:45:28 pm
or
It outputs 2020-05-01 05:45:28 PM
2020-05-01 05:45:28 PM