G
Guest
Changing a Date Time Value
I have a form with a date time picker or it and a button. When the button
is pressed it passes the date/time into a stored procedure that queries an
SQL database. Because the date time format is different I am receiving an
error.
I want the date format to be “dd-MMM-YYYY HH:MM:SS†e.g. “31-Dec-2006
23:59:59â€
I think I need to use the CDate function but I cant seem to get it to work.
Please help!
I have a form with a date time picker or it and a button. When the button
is pressed it passes the date/time into a stored procedure that queries an
SQL database. Because the date time format is different I am receiving an
error.
I want the date format to be “dd-MMM-YYYY HH:MM:SS†e.g. “31-Dec-2006
23:59:59â€
I think I need to use the CDate function but I cant seem to get it to work.
Please help!