Safe Haskell | Safe-Inferred |
---|
POSIX time, if you need to deal with timestamps and the like. Most people won't need this module.
Documentation
posixDayLength :: NominalDiffTimeSource
86400 nominal seconds in every day
type POSIXTime = NominalDiffTimeSource
POSIX time is the nominal time since 1970-01-01 00:00 UTC
To convert from a CTime
or EpochTime
, use realToFrac
.
getPOSIXTime :: IO POSIXTimeSource
Get the current POSIX time from the system clock.