Calendar Dates before the epoch

It seems that CalendarTime is for dates since the epoch...what do I use to handle dates before that? Sorry if this is an FAQ, I looked on the wiki and tried to find MissingH since I thought it might be in there, but don't know where to find it. I also found this from 2003 - http://www.arcknowledge.com/gmane.comp.lang.haskell.libraries/2003-11/msg000... - is the code in a library somewhere? Thanks. -- View this message in context: http://www.nabble.com/Calendar-Dates-before-the-epoch-tf3221685.html#a894771... Sent from the Haskell - Haskell-Cafe mailing list archive at Nabble.com.

jim burton wrote:
It seems that CalendarTime is for dates since the epoch...what do I use to handle dates before that? Sorry if this is an FAQ, I looked on the wiki and tried to find MissingH since I thought it might be in there, but don't know where to find it. I also found this from 2003 - http://www.arcknowledge.com/gmane.comp.lang.haskell.libraries/2003-11/msg000... - is the code in a library somewhere?
Thanks.
Use the time package (Data.Time.*). time-1.0 is in GHC 6.6 extralibs, and available from Hackage (http://hackage.haskell.org/cgi-bin/hackage-scripts/package/time-1.0) and the development version lives at http://darcs.haskell.org/packages/time/ /Björn

Bjorn Bringert-2 wrote:
Use the time package (Data.Time.*). time-1.0 is in GHC 6.6 extralibs, and available from Hackage (http://hackage.haskell.org/cgi-bin/hackage-scripts/package/time-1.0) and the development version lives at http://darcs.haskell.org/packages/time/
Thanks Björn Jim -- View this message in context: http://www.nabble.com/Calendar-Dates-before-the-epoch-tf3221685.html#a896847... Sent from the Haskell - Haskell-Cafe mailing list archive at Nabble.com.
participants (2)
-
Björn Bringert
-
jim burton