Anyone came across this bizarre error and know how to fix it? I am passing a value in result (which is typed datetime in MSSQL) to a function asking for a birthday variable, typed as Date, and its throwing this error. Never had this problem when I was using the same AS3 function and value with MySQL.
I originally had the MSSQL column cast as Date but got this error so I switched to DateTime...same result.

