Duh... :-[ This is interesting: the str2time ignored the inconsistent day-of-week parameter, as evidenced by the (correct) epoch-time.
It turns out that, to protect even the most redimentary patient info, the data in my small sample was fabricated... without a calendar. Thanks !! I'll manually fix the sample before writing any more code... Jim -----Original Message----- From: Rick Measham [mailto:[EMAIL PROTECTED] Sent: Saturday, October 07, 2006 5:23 PM To: Jim W. Jones Cc: datetime@perl.org; Jim Jones - Sonic Subject: Re: inconsistent round trip in Date::Parse (Date::Format) Jim W. Jones wrote: > The date and time info from the portal log file > looks like this: Mon Aug 3, 2006 3:45 AM (no seconds) > > I Perl-ed it into: Mon, 3 Aug 2006 3:45:00 GMT > which is one of the formats which str2time is supposed to parse. ... > As a check, I immediately round-tripped this through time2str, and got > an inconsistent day-of-week: Thu Aug 3 03:45:00 GMT 2006 > > What have I missed??? Do I have fighting use-statements? You have bad input data. My calendar shows that August 3rd, 2006 was a Thursday, not a Monday. Cheers! Rick Measham