Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^3: How to check if a date exists ?

by james2vegas (Chaplain)
on Oct 19, 2012 at 07:42 UTC ( #999878=note: print w/replies, xml ) Need Help??


in reply to Re^2: How to check if a date exists ?
in thread How to check if a date exists ?

You need a format, like "%Y%m%d" as the second parameter to strptime (I left that out in my earlier code, so my fault).

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://999878]
help
Chatterbox?
[sierpinski]: I've never seen $#$var before.
[LanX]: $list cops be an array ref
[LanX]: could
[LanX]: $#array gives the length
[LanX]: no sorry ...
[sierpinski]: so that would just be deferencing it...
[LanX]: the last index!
[LanX]: yes
[sierpinski]: yeah I guess $list is a reference.. yeah
[sierpinski]: why is it the last index and not the first? because the length of the array becomes the index?

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (12)
As of 2017-12-13 15:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (369 votes). Check out past polls.

    Notices?