Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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 meditating upon the Monastery: (4)
As of 2014-07-29 05:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (211 votes), past polls