Google
  Web www.spinics.net

Difference between two dates

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Hello Experts,


I want to get the difference (say age of a person) in years, month and days from the current date to a given date. how can i achieve this, my server support PHP 5.20, where date interval function (date_diff) is not available, is there is any other way, rather than calculating in the hard way (i mean, keeping all the leap years and days in mind ).

please suggest.

prateek.

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP Home]     [PHP Users]     [PHP Install]     [PHP on Windows]     [Programming PHP]     [Kernel Newbies]     [Rice Cooker]     [Home]     [Yosemite News]     [Yosemite Photos]     [PHP Books]

Powered by Linux