Of course you meant:
my $date_string = sprintf('%02d%02d%02d', $year%100, $month, $day);
Which just illustrates why this is such a bad date format to use
In reply to Re^2: Using a range of dates in yymmdd format
by hawtin
in thread Using a range of dates in yymmdd format
by ITmajor
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |