Either way, you can still use Time::Local and compare your dates in epoch time.
Another option is storing your dates in YYYYMMDD format (as you're already doing); then you can just compare them numerically.
if ($begin_date <= $curr_date and $curr_date <= $end_date) { print "$curr_date is between $begin_date and $end_date.\n"; }
In reply to Re: Re: Re: Date Range Parsing
by chipmunk
in thread Date Range Parsing
by Tuna
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |