date convert
Hi,
I have a field in my db called date.
it is in this short format ex.5/5/2005
Now I want to convert it to long format
I use this code
when i use this code it is ok
response.write formatDateTime(5/5/2005,vblongDate)
But when i use this code
strDate=2/2/2005
response.write formatDateTime(" & strDate & ",vblongDate)
I get type mismatch error.
How can I use a variable to do this work?
|