[Haskell-cafe] Calendar Dates before the epoch

Björn Bringert bringert at cs.chalmers.se
Tue Feb 13 13:10:37 EST 2007

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/msg00019.html
> - 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 
and the development version lives at http://darcs.haskell.org/packages/time/


More information about the Haskell-Cafe mailing list