Convert string to datetime, help

DateTime.ParseExact(“30.09.2023 17:50:34”,“dd.MM.yyyy HH:mm:ss”, System.Globalization.CultureInformation.InvariantCulture)

Probably some spelling mistakes in the code, but you will figure it out.

1 Like