Hi
Do u need to have the format with forward slashes "/" ??? If you're using MySQL, its date formating is with dashes "-". Why don't u just try it this way:
//only do the bottom if u want the current date!!!
$today = mktime( 0,0,0, date("m"), date("d"), date("Y") );
$years = date( "Y", $today );
$days = date( "d", $today );
$months = date( "m", $today );
//u call the function like this:
$sql = "select from 'my_table' ";
$sql.= " '$years-$months-$days',";
u do an insert the same way.
Hope this helps. Its not exactly what i have used, but i just changed a few things.
good luck
tasneem