View Single Post
Old 08-28-2004, 04:51 PM  
BradM
Confirmed User
 
Join Date: Dec 2003
Location: 1123,6536,5231
Posts: 3,397
quick php date() help

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
BradM is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote