Re[2]: [PHP] Counting back 90 days...

2004-01-05 Thread Richard Davey
Hello Paul, Monday, January 5, 2004, 2:26:16 PM, you wrote: PC> For example, strftime("%+",0) returns "Wed Dec 31 19:00:00 EST 1969" in PC> my timezone, and strftime("%+",-1) returns a blank. Yet, doing a PC> strtotime("1969-12-31 23:59:59 GMT") will get you a -1, and the date() PC> function app

Re[2]: [PHP] Counting back 90 days...

2004-01-05 Thread Richard Davey
Hello Tristan, Monday, January 5, 2004, 11:55:36 AM, you wrote: TPrsc> My word... TPrsc> 6 odd lines, to one... TPrsc> you're a genius... TPrsc> Cheers for that... Glad to help. I too have spent ages messing with mktime and min/sec additions, etc - but strtotime() does it all for you. There are