Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Date displaying the 0's

by eXile (Priest)
on Apr 10, 2006 at 00:42 UTC ( #542199=note: print w/replies, xml ) Need Help??


in reply to Date displaying the 0's

Or have a CPAN module do all the error-prone date-handling for you. For instance DateTime
use DateTime $date = DateTime->now()->ymd();

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://542199]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2017-05-28 11:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?