Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: date

by buckaduck (Chaplain)
on Feb 14, 2002 at 01:55 UTC ( [id://145338]=note: print w/replies, xml ) Need Help??


in reply to Year shows as 20102 in date

$date = "$month/$mday/20$year";
Wow. Hardcoding the digits '20' in the year. Have people forgotten about Y2K already? I can see a whole new era of Y3K failures on the horizon...

"Why does my Perl program say 'Jan. 1, 201100' instead of 'Jan. 1, 3000'?"

Hopefully, I'll be dead by then. I'd hate to go through all of that again.

buckaduck

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (2)
As of 2024-04-20 05:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found