Microsoft VBScript runtime error '800a000d'

Type mismatch: 'strDte'

/scripts/dateformat.asp, line 9