Description: ASP makes converting string to date very easy. We re going to use the CDate ASP/VBScript function in our ASP code to convert a string to a date value. ASP CDate function has the following syntax: CDate (Date) ASP CDate function has 1 string argument, which is the string to be converted to date. The CDate function converts any valid date/time string expression to Date variant subtype.