Hi Monks,
I'm currently having troubles packaging a script which contains the module DateTime::Format::ISO8601, so I'm looking for another way to check if the date I'm giving in the script options does exists...
I'd like to avoid regexp if that's possible ^^" and also the method consisting in extracting the first digits, checking if they are between 1 and 31 for 7 months and 1 and 30 for 4, and 28 or 29 for february, then the 3th and 4th digits to check if they are between 1 and 12, and the year to check if it's a bisextille year...
Thanks in advance
In reply to How to check if a date exists ? by HJO
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |