19 Feb 2010
Updated: 19 Feb 2010
Rating: 5.00/5
Votes: 2
Popularity: 1.51
Licence: CPOL
Views: 7,810
Bookmarked: 0
Downloaded: 0
This would work too :)As an explanation, I use datediff to get the number of days, divide that by the correct number of days in a year (keeping track of leap years, there are only 97 in every 400 years) and then FLOOR the result, thus making sure it doesn't get rounded up accidentally....
|