chronos-0.3: A time library, encoding, decoding, and instances
Chronos.Day
Synopsis
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.
tomorrow :: IO Day Source
yesterday :: IO Day Source