Google

Saturday, June 7, 2008

How to get current date..in PHP..?????

just simple

use a inbuilt PHP date() function and pass the time() function as a parameter....


like...

echo date("y/m/d",time());

first parameter is date format.

and second is PHP inbuilt time() function.