Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Optimal Date conversion? (Too much information)

by dragonchild (Archbishop)
on Dec 29, 2004 at 16:30 UTC ( [id://418019]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use constant SECOND  => 0;
    use constant MINUTE  => 1;
    ...
        $time[MINUTE]      . ':' .
        $time[SECOND]
    ;
    
  2. or download this
    my $string =
        join('-', $time[WEEKDAY] + 1, $time[MONTH] + 1, $time[DAY])
      . '_' .
        join(':', @time[HOUR, MINUTE, SECOND])
    ;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2024-04-20 02:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found