My word... 6 odd lines, to one... you're a genius... Cheers for that... Tris...
Richard Davey <[EMAIL PROTECTED]> 05/01/2004 11:45 Please respond to Richard Davey <[EMAIL PROTECTED]> To [EMAIL PROTECTED] cc "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> Subject Re: [PHP] Counting back 90 days... 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:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php ********************************************************************* The information contained in this e-mail message is intended only for the personal and confidential use of the recipient(s) named above. If the reader of this message is not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail, and delete the original message. ***********************************************************************