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

Answer: How do I find today's date?

by autarch (Hermit)
on May 10, 2004 at 19:37 UTC ( #352189=categorized answer: print w/replies, xml ) Need Help??

Q&A > dates and times > How do I find today's date? - Answer contributed by autarch

use DateTime; my $dt = DateTime->today; print $dt->date;

Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
[LanX]: B::Concise has an obvious bug in the example code ...
[LanX]: ... and I wouldn't be surprised if it hasn't been spoted for 10 years already

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (11)
As of 2017-04-24 14:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (442 votes). Check out past polls.