Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: number to date conversion

by thezip (Vicar)
on Jun 11, 2013 at 21:21 UTC ( #1038344=note: print w/replies, xml ) Need Help??


in reply to number to date conversion

Yet another WTDI:


#!/perl/bin/perl use strict; use warnings; my $YYMMDD = '130510'; my @D = unpack('(A2)*', $YYMMDD); my $date = join('/', @D); print $date, "\n";

What can be asserted without proof can be dismissed without proof. - Christopher Hitchens, 1949-2011

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (2)
As of 2019-10-21 04:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?