Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

parse datetime c#


string s = "2011-03-21 13:26";

DateTime dt = 
    DateTime.ParseExact(s, "yyyy-MM-dd HH:mm", CultureInfo.InvariantCulture);

Source by devarama.com #
 
PREVIOUS NEXT
Tagged: #parse #datetime
ADD COMMENT
Topic
Name
4+7 =