How to round up year duration.
posted 9 years ago
yes, Chad Clites's solution is good. but i don't know how to get number of days in a year (365 or 366)? example 25/5/2000 to 24/5/2001 should return 1 year (365 days) and 25/5/2003 to 24/5/2004 (leap year) also return 1 year (366 day).