implement custom string to datetime convert net core

93

implement custom string to datetime convert net core -

DateTime myDate = DateTime.ParseExact("2009-05-08 14:40:52,531", "yyyy-MM-dd HH:mm:ss,fff",
                                       System.Globalization.CultureInfo.InvariantCulture);

Comments

Submit
0 Comments