Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: formatting datetime with strftime

by ramlight (Friar)
on Jul 22, 2013 at 14:23 UTC ( #1045654=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $time2 = strftime("%b %d, %y %T", $m_raw, $d0_raw, $y_raw, $hh_raw, $m
    +m_raw, $ss_raw);
    
  2. or download this
    the date_raw is: 4/5/13 
    the m_raw is: 04 
    ...
    
    the loaded datetime variable is: 1365192540 
    the formatted date time is: Jan 07, 01 21:05:04 
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (8)
As of 2015-07-05 04:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls