Kent.. I keep finding bugs in the script! lol... (geez... can't seem to get everything to work 100% correctly)

It should be:

$calendar[1] = $calendar[1] + $ly

(i forgot the 0 element of the array was january)

Also, please see the second script I posted that accounts for year rollover...

Brian