On 20 January 2005 22:12, John Goerzen wrote:
I have a simple desire. I have a string that I need to parse as a
date/time string in the local timezone, then convert it to standard
seconds-since-epoch format. This is trivial in C, Perl, Python, etc.
but seems impossible to do reliably in
On Fri, Jan 21, 2005 at 01:56:23PM -, Simon Marlow wrote:
I can't tell what's wrong here, if anything (general brokenness in the
System.Time API notwithstanding). Ah *lightbuilb* - I think I see: you
want to take a calendar time without any TZ information, assume it is a
time at the
On 21 January 2005 14:31, John Goerzen wrote:
I checked the following code into MissingH. I would be pleased if you
could take it for fptools. I should note that I am using an Integer
rather than an Int to represent seconds, since I think that is proper
given the size of values we might be
On Fri, Jan 21, 2005 at 02:55:31PM -, Simon Marlow wrote:
Have you seen this, BTW:
http://www.haskell.org/~simonmar/time/NewTime.html
Ah. I think I found several discussions in reply to that but never did
actually track down that URL.
I'll take a look.
timelocal :: CalendarTime -
Hi,
I have a simple desire. I have a string that I need to parse as a
date/time string in the local timezone, then convert it to standard
seconds-since-epoch format. This is trivial in C, Perl, Python, etc.
but seems impossible to do reliably in Haskell. I'm hoping someone can
tell me where