Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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 wandering the Monastery: (13)
As of 2015-03-30 20:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When putting a smiley right before a closing parenthesis, do you:









    Results (659 votes), past polls