"Anna" <an****@go2.pl> wrote in message
news:8b**************************@posting.google.c om...
How can I count the difference between two dates? ( I can't change
them into Unix format using mktime(), because in my database are also
people born before 1970). Are there any alternative functions?
sure you can, here is an example:
$t = time() - 10000000000;
print date("F j, Y, g:i a",$t)."\n";
this will print something around: 1959
I also have a snippet that adjust from time servers 1900 based vs date()
1970 based.
http://www-4.gzentools.com/snippetvi...&v=nettime.php
--
Mike Bradley
http://www.gzentools.com -- free online php tools