Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: date

by snowcrash (Friar)
on Feb 13, 2002 at 08:31 UTC ( [id://145108]=note: print w/replies, xml ) Need Help??


in reply to Year shows as 20102 in date

the biggest issue is that you should "read the fine manual". try perldoc -f localtime for a start. the year localtime returns is an offset of years that have passed since 1900. also, try to put your code inside a <code> tag, that will enhance readability a lot.

thanks,
snowcrash

Log In?
Username:
Password:

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

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

    No recent polls found