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

Reply via email to