We need to convert the system date to a appropriate format as per the specific culture. We observe a strange behavior where-in we're not able to convert the DateTime for March month alone for Italy culture.
Try
Dim dt As String = "01-Mar-2016"
Dim culture As New CultureInfo("it-IT")
MsgBox(Convert.ToDateTime(dt, culture).ToShortDateString)
Catch ex As Exception
MsgBox(ex.ToString)
End Try
The above code works for Jan, Feb, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov & Dec, but not only for Mar. Is this any existing bug within Windows..?
PS: The above code throws "String was not recognized as a valid DateTime" exception, but works fine when we change the date as "01-March-2016".