Microsoft VBScript runtime error '800a000d'

Type mismatch: 'datevalue'

/harvest/grangecalendar.asp, line 50