![]() |
Age through date
I want to calculate the age of the date in years, months and days.
An example could be: 15-sep-1997 You're 10 years 2 months and 25 days old. 5-Nov-2007 You're 5 days old. 10-Oct-2007 You're 1 month old. |
Do you want to calculate it based on the date provided and the current date (as in now), and subtract the two? Then output them separately( Years: Months: Days: )
|
A good starting point might be Wildhoney's Calculating an Age from Date of Birth topic. :)
|
Quote:
|
Hey, this may not be what you EXACTLY need, but maybe you can expand on it:
PHP Code:
|
| All times are GMT. The time now is 10:43 AM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0