How do you get the current date in yyyy-mm-dd in PHP?
Printable View
How do you get the current date in yyyy-mm-dd in PHP?
check out PHP.net's online manual for different uses of the date() function: http://ca3.php.net/manual/en/function.date.phpPHP Code:<?=date("Y-m-d");?>