Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

formatting datetime with strftime

by mreaves (Initiate)
on Jul 22, 2013 at 14:07 UTC ( [id://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
Domain Nodelet?
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?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2024-04-20 04:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found