Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# convert string to datetime dd-mm-yyyy hh-mm-ss

Console.WriteLine(DateTime.ParseExact("2014-01-01 23:00:00", "yyyy-MM-dd HH:mm:ss", CultureInfo.InvariantCulture));
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #convert #string #datetime
ADD COMMENT
Topic
Name
6+2 =