Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Answer: How do I find today's date?

by Sol-Invictus (Scribe)
on Feb 06, 2004 at 08:07 UTC ( #327015=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!perl-w
    
    ...
    $year=104;
    
    print "$day\-".($month+1)."-".($year+1900)."\n";
    
  2. or download this
    print $day,"\-",($month+1),"-",($year+1900),"\n"; # less expensive
    
  3. or download this
    #! perl-w 
    
    ...
                'none'
            );
            cmpthese( $results ) ;
    
  4. or download this
           
                     Rate    Commafied Concatinated
    Commafied     74894/s           --         -71%
    Concatinated 260000/s         247%           --
    
  5. or download this
    print $day."\-".($month+1)."-".($year+1900)."\n"; # less expensive
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2022-01-17 17:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (51 votes). Check out past polls.

    Notices?