I am retrieving a date from a database in ASP vbscript and want to pass it on to a javascript function (and use it in date format).
I tried converting my date to a CDate in ASP, passing that on to my javascript function and making a javascript out of it by use of the Date(ASPDate). When doing that, I always get the error "missing ) after argument list" since there is a space between the day and the time.
relevant code:
CreateTimeStart(" & dteActualStartTime & ")
function CreateTimeStart(dteActualStartTime){
timestart = Date(dteActualStartTime);
}