I just tried to convert a date stored as a long value into a DateTime but it gives me the date {2/01/0001 7:35:22 PM}
whereas it should be {23/09/2019 4:30:23}
(GMT +10)
Here is the long value 1569220232761
created on initialising the object.
Here is the code that returns 2/01/0001
SeshStart = new DateTime(CurrentSession.startDate, DateTimeKind.Local);
With CurrentSession.startDate
equal 1569220232761
.