Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: How to format dates prior to 1970?

by Corion (Pope)
on Jul 10, 2017 at 13:33 UTC ( #1194697=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    > 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.20_01
    1969-05-10
    1969-05-10
    
  2. or download this
    > perl -v
    
    This is perl 5, version 14, subversion 2 (v5.14.2) built for MSWin32-x
    +86-multi-thread
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2020-11-30 12:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?