chronos-0.4: A performant time library

Safe HaskellNone
LanguageHaskell2010

Chronos.Day

Synopsis

Documentation

add :: Int -> Day -> Day Source #

Offset by the given number of days. To accomplish subtraction, provide a negative number.

diff :: Day -> Day -> Int Source #

Take the difference between two days.

today :: IO Day Source #

Gets the current POSIX day. This does not take the user's time zone into account.