Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Function (DateTimeVar dstart, DateTimeVar dend)
// Returns number of year between two input dates
// Apparently there is no issue with DateAdd when subtracting years off of leap day
// , so no need to isDate...
if DateAdd ('yyyy', -(DateDiff ('yyyy',dstart ,dend )), dend) >= dstart
then DateDiff ('yyyy',dstart ,dend )
else DateDiff ('yyyy',dstart ,dend )-1