Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: How to format dates prior to 1970?

by NetWallah (Canon)
on Jul 10, 2017 at 17:40 UTC ( #1194731=note: print w/replies, xml ) Need Help??


in reply to How to format dates prior to 1970?

Perl 5.24 on win7/64-bit blows up for me:
perl -v This is perl 5, version 24, subversion 0 (v5.24.0) built for MSWin32-x +64-multi-thread >perl -MTime::Piece -wE "say $Time::Piece::VERSION; my $t=Time::Piece- +>strptime('05/10/1969','%m/%d/%Y'); say $t->ymd; say $t->strftime('%Y +-%m-%d')" 1.31 1969-05-10 <<< *popup* - perl stopped responding
Faulting application name: perl.exe, version: 5.24.0.2400, time stamp: + 0x575a1be0 Faulting module name: Piece.dll, version: 0.0.0.0, time stamp: 0x575a1 +c19 Exception code: 0xc0000005 Fault offset: 0x00000000000022e9 Faulting process id: 0x44b0 Faulting application start time: 0x01d2f9a2b44679e1 Faulting application path: C:\Perl64\bin\perl.exe Faulting module path: C:\Perl64\lib\auto\Time\Piece\Piece.dll Report Id: 7213cb17-38fa-4446-823a-d4990b1501b7 Faulting package full name: Faulting package-relative application ID:

                All power corrupts, but we need electricity.

Replies are listed 'Best First'.
Re^2: How to format dates prior to 1970?
by Hanfresco (Novice) on Jul 10, 2017 at 22:55 UTC
    Hope this gets fixed someday!

      The first step on that road would be to submit a bug report against Time::Piece. I don't see one there yet.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1194731]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2020-11-27 06:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?