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 pondering the Monastery: (4)
As of 2016-09-25 09:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (468 votes). Check out past polls.