Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

formatting datetime with strftime

by mreaves (Initiate)
on Jul 22, 2013 at 14:07 UTC ( #1045652=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!perl -w 
    use POSIX 'strftime';
    ...
        $time2 = strftime(%b %d, %y %T, $m_raw, $d0_raw, $y_raw, $hh_raw, 
    +$mm_raw, $ss_raw);
        print "the formatted date time is: $time2 \n";
    
  2. or download this
    Argument "d" isn't numeric in modulus (%) at playdate.pl line 36.
    Illegal modulus zero at playdate.pl line 36.
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1045652]
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (11)
As of 2015-01-28 09:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My top resolution in 2015 is:

















    Results (213 votes), past polls