Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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 taking refuge in the Monastery: (5)
As of 2014-09-16 03:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (155 votes), past polls