Hi,
VB.net 2005 and SQL 2005
i am battling to format my date.
I have a data reader querying a table in SQL and it returns to me a date "14/09/2008" assigned to a string variable QE_Date
then i need to use this value in an update statement back into sql by executing it in a SQL command object.
The statement is failing as its not in yyyy-MM-dd format going back into SQL. I have tried the string.format(QE_Date,"yyy
y/MMM/dd")
but it does nothing to the format, it still remains dd/mm/yyyy
thanks allot
Start Free Trial