Using VB.Net 2005
I want to get a day for the date.
My Datepicker format is Custom Format (dd/MM/yyyy)
Code.
Dim dt As New DateTime()
dt = Format(textdate.Text, "dd/MM/yyyy")
textday.Text = dt.DayOfWeek.ToString
When i try to run the above code, it was taking only this format(MM/dd/yyyy)
Suppose
Date - 02/05/2010
It should display as "Tuesday of Feburary" but it is displaying as "Sunday of May"
Need VB.Net code Help