Easy way to calculate difference between two dates
| From: | SpamSucks86 | Date: | Mon, 21 Jan 2002 02:19:09 +0000 |
| Subject: | Easy way to calculate difference between two dates | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-16014@lists.php.net to get a copy of this message | ||
Is there an easy way to calculate the difference between the current
date and a date prior to January 1, 1970 (unix epoch). Just getting the
timestamp and then subtracting the other date from it won't work because
it will be a negative number. Any insight? I think this can be done very
easily in ASP (built in function? But I don't know ASP, it's just what I
heard). Thanks for your help =)