Re[2]: [PHP] Counting back 90 days...
| From: | Richard Davey | Date: | Mon, 05 Jan 2004 14:10:48 +0000 |
| Subject: | Re[2]: [PHP] Counting back 90 days... | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-173750@lists.php.net to get a copy of this message | ||
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 many
variations you can use in it, it's a very powerful command indeed and
takes everything into consideration re: leap years, rollovers, etc.
--
Best regards,
Richard mailto:rich@launchcode.co.uk