chronos-0.4: A performant time library

Safe HaskellNone
LanguageHaskell2010

Chronos.Posix

Synopsis

Documentation

now :: IO PosixTime Source #

This probably needs to be wrapped in a bunch of CPP like the one in time is.

toUtc :: PosixTime -> UtcTime Source #

This may be wrong for dates before what we count as the first modified julian day.

fromDay :: Day -> PosixTime Source #

The PosixTime at midnight on the given day.