//Creating SQL parameter
$curDate2 = "%".$mday."%".$month[0].$month[1].$month[2]."%".$year."%";
$preday = strftime ("%d",$test);
$premonth = strftime ("%B",$test);
$preyear = strftime ("%Y",$test);
$curDateP = "%".$preday."%".$premonth[0].$premonth[1].$premonth[2]."%".$preyear."%"; |