How to Conveting DateFormat

Hi @sumouse
dude, its becasue you didn’t mention date format correctly (Wed —> ddd & about timezone.)

try this you’ll get the output as you want it,

DateTime.ParseExact(“Wed Jul 31 11:07:00 KST 2019”, “ddd MMM dd HH:mm:ss ““KST”” yyyy”, System.Globalization.CultureInfo.InvariantCulture)

1 Like