Posted on 2003-03-19
Hi, I had some problem formating the date in ASP.NET. Here is my code:
Dim mydate As DateTime = CDate(kivdate.Text)
Dim test As String = Format(mydate, "dd/MMM/yyyy")
When I input data such as "10/01/03" in the kivdate textbox i would like it to display it as
10-Jan-03 but then i appear as 01-Oct-03. I had already specify the format of the date to dd/mmm/yyy but it is that the data does not format into the type i want.