Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

RE: RE: Re: Date format question

by myocom (Deacon)
on Sep 12, 2000 at 03:22 UTC ( #32020=note: print w/replies, xml ) Need Help??


in reply to RE: Re: Date format question
in thread Date format question

Actually, you'll also want to use $month+1...

printf("%4d.%02d.%02d\n",$year+1900,$month+1,$day);

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2021-12-08 01:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    R or B?



    Results (34 votes). Check out past polls.

    Notices?