05-31-2011, 01:03 PM
Verified but its throwing error
currDate1 = FormatDateTime(dtDate, "yyyy-mm-dd")
PRINT currDate1
Type mismatch: '[string: "yyyy-mm-dd"]'
"currDate1 = FormatDateTime(dtDate, "yyyy-mm-dd")".
currDate1 = FormatDateTime(dtDate, "yyyy-mm-dd")
PRINT currDate1
Type mismatch: '[string: "yyyy-mm-dd"]'
"currDate1 = FormatDateTime(dtDate, "yyyy-mm-dd")".