Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

C# string to datetime

DateTime myDate = DateTime.ParseExact("2009-05-08 14:40:52,531", "yyyy-MM-dd HH:mm:ss,fff",
                                       System.Globalization.CultureInfo.InvariantCulture);
Source by net-informations.com #
 
PREVIOUS NEXT
Tagged: #string #datetime
ADD COMMENT
Topic
Name
9+2 =