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 scrutinizing the Monastery: (7)
As of 2014-08-21 16:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (138 votes), past polls