I got a string which is representend like this :
string startdatetime = \"13988110600000\"
What I want to do is to convert this string (wh
Since TimeSpan.Ticks property returns long, your new DateTime(time.Ticks) code call DateTime(long) constructor and from it's documentation;
A date and time expressed in the number of 100-nanosecond intervals that have elapsed since January 1, 0001 at 00:00:00.000 in the Gregorian calendar.
That's why it's wrong to say The result is almost good. The value of result is expected as implemented and documented.