in reply to Re: Date::Parse - how to correctly parse dates between 1901 and 1969
in thread Date::Parse - how to correctly parse dates between 1901 and 1969
Hi,
1900 + nonsense is the entire reason for modules like DateTime to exist
From DateTime
my $formatter = DateTime::Format::Strptime->new(...);
So DateTime::Format::Strptime, DateTime:: Strptime
my $dt = $formatter->parse_datetime( $timestampstring );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Date::Parse - how to correctly parse dates between 1901 and 1969
by eniad (Acolyte) on Feb 20, 2018 at 15:27 UTC | |
by Anonymous Monk on Feb 20, 2018 at 21:10 UTC | |
by Anonymous Monk on Feb 20, 2018 at 19:04 UTC |