PHP, How to get current date in certain format
date("Y-m-d H:i:s"); // This should do it.
I belive the answer is:
echo date('Y-m-d H:i:s');
date('Y-m-d H:i:s')
. See the manual for more.
date("Y-m-d H:i:s"); // This should do it.
I belive the answer is:
echo date('Y-m-d H:i:s');
date('Y-m-d H:i:s')
. See the manual for more.