in reply to problems parsing Time/Date strings
any sugestions?
:) About what?
I don't know, and I believe most programmers don't, what the correct return value is supposed to be
I get
which doesn't mean much to me either way, it also doesn't match what DateTime (supposed to be more accurate ) has to say1341719704 1341690904
perl -le " use DateTime; print DateTime->new(qw{ month 7 day 7 hour 20 + minute 55 second 04 year 2012 time_zone GMT } )->epoch(); " 1341694504
perl -le " use DateTime; print DateTime->new(qw/ month 7 day 7 hour 20 + minute 55 second 04 year 2012 time_zone CET / )->epoch(); " 1341687304
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: problems parsing Time/Date strings
by vlad_tepesch (Acolyte) on Jul 08, 2012 at 21:11 UTC | |
by frozenwithjoy (Priest) on Jul 08, 2012 at 21:29 UTC | |
by Anonymous Monk on Aug 04, 2012 at 08:13 UTC | |
by tobyink (Canon) on Jul 08, 2012 at 23:07 UTC | |
by Anonymous Monk on Jul 08, 2012 at 21:42 UTC | |
by Anonymous Monk on Jul 08, 2012 at 22:07 UTC | |
by suferick (Beadle) on Jul 09, 2012 at 10:58 UTC | |
by tobyink (Canon) on Jul 09, 2012 at 14:06 UTC |