[Haskell-cafe] string to date?

Malcolm Wallace Malcolm.Wallace at cs.york.ac.uk
Thu Nov 9 11:57:20 EST 2006


Magnus Therning <magnus at therning.org> wrote:

> I've been staring my eyes out trying to find a function that converts
> a string into a ClockTime or CalendarTime.  Basically something like
> C's strptime(3).  I can't seem to find anything like it in
> System.Time, there are function that convert _to_ a string, but
> nothing that converts _from_ a string it seems.  Where should I look?

Not quite what you want, but: "read"?  (opposite of "show")

Regards,
    Malcolm


More information about the Haskell-Cafe mailing list