Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

convert.tostring with datetime string

 // create date time 2019-11-12 22:45:12.004
 DateTime date = new DateTime(2019, 11, 12, 22, 45, 12, 004);
 string date_str = date.ToString("dd/MM/yyyy HH:mm:ss");
Source by www.educative.io #
 
PREVIOUS NEXT
Tagged: #datetime #string
ADD COMMENT
Topic
Name
9+5 =