Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Answer: How do I find today's date?

by sacked (Hermit)
on May 11, 2004 at 13:58 UTC ( #352444=categorized answer: print w/replies, xml ) Need Help??

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

You can also use POSIX::strftime:
use POSIX qw(strftime); print "today's date is ", strftime( '%b %e, %Y', localtime );

Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (8)
As of 2017-03-29 19:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (352 votes). Check out past polls.