Re: Counting back 90 days...

From: Date: Mon, 05 Jan 2004 11:45:35 +0000
Subject: Re: Counting back 90 days...
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-173739@lists.php.net to get a copy of this message
Hello Tristan, Monday, January 5, 2004, 11:29:16 AM, you wrote: TPrsc> But is there an easy was to calculate 90 days from the timestamp... Based on the current time: $previous_90_days_timestamp = strtotime ("-90 day"); All in one: $previous_90_days_date = date("Y-m-d", strtotime("-90 day")); -- Best regards, Richard mailto:rich@launchcode.co.uk

« previous php.general (#173739) next »