I am trying to convert a date into another format.
I get an error saying the date format is not recognized.Code:FixDate = "17 JULI 2018" Dim newDate As Date = DateTime.ParseExact(FixDate, "YYYYMMDD", Globalization.CultureInfo.InvariantCulture) finalstring = newDate.ToString
The result should be a date in string like this: 20180717




Reply With Quote
