Menu
Right now I have this:
[CODE]$mydate = date(“m/d/y”);
Which gives me today’s date in the correct format. What I need is yesterday’s date. I tried:
[CODE]$mydate = date(“m/d/y”)-1;
but that just returns 0.
I’m looking at the PHP.Net page for the date function but can’t find anything that helps me.
Anyone?