Commits

Maxim Moiseev committed 8ba081f

fromUnixTime update

Comments (0)

Files changed (1)

src/Linq2vk.Core/Data.fs

         
     let string' = unquote << string
 
-    let fromUnixtime (x:int64) =
-        DateTime(1970, 1, 1) + TimeSpan.FromSeconds(x |> float)
+    let UnixTimeStart = DateTime(1970, 1, 1)
+    let fromUnixtime (x:int64) = 
+         UnixTimeStart + TimeSpan.FromSeconds(x |> float)
 
 module Make =
     open System.Text.RegularExpressions