php function to get current date
Date() function can use to current date get in php
example
<?php
echo date("Y/m/d") . "<br />";
echo date("Y.m.d") . "<br />";
echo date("Y-m-d")
?>
The output of the code above could be something like this:
2010/01/11
2010.01.11
2010-01-11