Microsoft VBScript runtime error '800a000d'

Type mismatch: 'datevalue'

/sky/grangecalendar.asp, line 37