The following code crashes and burns and I don\'t understand why:
DateTime dt = new DateTime(1970,1,1,0,0,0,0, DateTimeKind.Utc); double d = double.Parse(\"1
In my case I had to consume an api object as a double and convert the unix time to a DateTime:
DateTime Date = new DateTime(1970, 1, 1, 0, 0, 0, 0, DateTimeKind.Utc).AddMilliseconds(Double.Parse("1596225600000"));