KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I would like to know if ParseExact is faster than Parse. I think that it should be ParseExact since you already gave the format but I also think all the checking for the Culture info would slow it down. Does microsoft say in any document on performance difference between the two. The format to be used is a generic 'yyyy/MM/dd' format . For example: DateTime.Parse(DateText); DateTime.ParseExact(DateText, "yyyy/MM/dd", CultureInfo.InvariantCulture);
Tags (comma-separated)
Save Edits
Cancel