I want to know if someone has a neet function to add/substract whole years to a date or datetime. It needs to take into account leap years and check that it doesn't produce illegal dates (ex: add 5 years to Feb 29 2004).
I know I could code the long way - but is there some FOXPRO function (foxpro has a function for everything) or ellegant snippet that I can use.
Thanks from frigid Ottawa Canada
I know of no more encouraging fact than the unquestionable ability of man to elevate his life by a conscious endeavor.
Henry Thoreau