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 IsDateGood(dteToCheck as date) as boolean
Dim dteLow as date
Dim dteHigh as date
dteLow = DateSerial(datePart("yyyy",Now),5,15) 'This yyyy
dteHigh = DateAdd("y",1,dteLow) ' Plus 1 year
Select Case dteToCheck
Case Is <= dteLow ' May 15 and below this year
Case Is > dteHigh ' May 16 and above next year
Case else
IsDateGood = True ' good date
End select
End Function