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:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php