I want to convert mm/dd/yyyy
to dd/mm/yyyy
.
My application is asp.NET with VB.
I tried following code
DateTime.Parse(oldDate.ToString("dd\mm\yyyy"))
But got the error:
"The string was not recognized as a valid dateTime. There is an unknown word starting at index 2"
Can any one give the appropriate code?