Quote:
Originally posted by BradM
You'll see what I am trying to go... hopefully lol
$yesterday = date(("F")+(("d")-1)+("Y"));
I am trying to minus 1 from the d, so I get "yesterday". How can I do this? I am probably making it too difficult. :p
|
$yesterday = date("F d Y",mktime(0,0,0,date("F"),date("d")-1,date("Y")));