George Moschovitis wrote:
Alternatively is there a way to create a UTCTime value from an epoch integer (no of seconds since epoch).
I can't find a suitable constructor with Hoogle.

http://www.haskell.org/ghc/docs/latest/html/libraries/time/Data-Time-Clock-POSIX.html

posixSecondsToUTCTime

probably in combination with fromIntegral

Jules
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to