I don't know. It made a difference when I ran it through Perl on my computer. It gave me just what you would expect.
The only other thing I can think to do would be to copy the code from sub get_date for each of the lines. Something like
my (@months) = qw!Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec!;
$time1 = time();
my ($sec, $min, $hour, $day, $mon, $year, $dweek, $dyear, $daylight) = localtime($time1 - (86400 *2));
($day < 10) and ($day = "0$day");
$year = $year + 1900;
$day1 = "$day-$months[$mon]-$year";
my ($sec, $min, $hour, $day, $mon, $year, $dweek, $dyear, $daylight) = localtime($time1 - (86400 *3));
($day < 10) and ($day = "0$day");
$year = $year + 1900;
$day2 = "$day-$months[$mon]-$year";
my ($sec, $min, $hour, $day, $mon, $year, $dweek, $dyear, $daylight) = localtime($time1 - (86400 *8));
($day < 10) and ($day = "0$day");
$year = $year + 1900;
$week1 = "$day-$months[$mon]-$year";
and so on.
That works, too, but it's a lot of coding.
JPD
http://www.jpdeni.com/dbman/