krappleby025
Programmer
i have the folowing script
$today = date("d-m-Y",time());
which is placed into the database this results in a date formated in 18-01-2004 now
i need to pull from the database the result for yesterdays date... ie 17-01-2004
i have tried
$today = date("d-m-Y",time())-1;
and several variants.. can someone plesae help
thanks
$today = date("d-m-Y",time());
which is placed into the database this results in a date formated in 18-01-2004 now
i need to pull from the database the result for yesterdays date... ie 17-01-2004
i have tried
$today = date("d-m-Y",time())-1;
and several variants.. can someone plesae help
thanks