Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

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

by Sol-Invictus (Scribe)
on Feb 06, 2004 at 08:07 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others studying the Monastery: (11)
As of 2024-04-23 21:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found