Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: The function localtime(time) returns wrong month . How to overcome this problem ??

by mickeyn (Priest)
on Feb 09, 2006 at 09:58 UTC ( #529036=note: print w/ replies, xml ) Need Help??


in reply to The function localtime(time) returns wrong month . How to overcome this problem ??

wrong,
localtime returns the month in 0..11 range, thus, February is '1' (January is '0').

Enjoy,
Mickey


Comment on Re: The function localtime(time) returns wrong month . How to overcome this problem ??

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (15)
As of 2015-07-31 12:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (277 votes), past polls