open System let toDateTime (timestamp:int) = let start = DateTime(1970,1,1,0,0,0,DateTimeKind.Utc) start.AddSeconds(float timestamp).ToLocalTime()