How to know the date time format used to convert a string to DateTime in C#

Posted by Ashwani K on Stack Overflow See other posts from Stack Overflow or by Ashwani K
Published on 2010-04-26T07:18:30Z Indexed on 2010/04/26 7:23 UTC
Read the original article Hit count: 292

Filed under:
|

Hello All:

I am converting a string to datetime using DateTime.TryParse in C#. Can somebody tell me, how to know which format C# compiler used to convert the string to valid DateTime. I want to know the datetime format used.

Thanks, Ashwani

© Stack Overflow or respective owner

Related posts about datetime

Related posts about c#