Produce the time following the specified offset. For example, to get the date and time from two weeks from right now:
timeFor 1 Fortnight FromNow:: a typeCtrl KGHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27
Moduletiming-convenience-0.1Haskell98
Produce the time following the specified offset. For example, to get the date and time from two weeks from right now:
timeFor 1 Fortnight FromNowGiven a time, produce a new time offset from that time. For example, to get the date and time from a month after two weeks ago:
do
twoWeeksAgo <- timeFor 1 Fortnight Ago
return $ timeSince twoWeeksAgo 1 Month FromThatmodule Data.Time.Convenience.Data