Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

how to convert timestamp to datetime c#

DateTime localTime = DateTime.Now;
TimeSpan duration = new TimeSpan(localTime.Ticks);	

//	Conversion of TimeStamp to DateTime
DateTime dt = new DateTime() + duration;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #convert #timestamp #datetime
ADD COMMENT
Topic
Name
3+7 =