
21 Jun
2008
21 Jun
'08
4:47 a.m.
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-P... posixSecondsToUTCTime probably in combination with fromIntegral Jules