Date Errors from Custom Tags in PHP Script

I have a couple of custom tags not working in my trends-inc.php file from the Carterlake/AJAX/PHP template from saratoga-weather.org.

I’m getting incorrect dates for both Jan 2011 (and therefore 2011) record high heat index and maximum daily rain as can be seen at http://www.spacecoastweather.org/wxtrends.php. The custom tag for heat index I’m using is: $mrecordhighheatindexyear,$mrecordhighheatindexmonth,$mrecordhighheatindexday and for rainfall it is: $mrecorddailyrainyear,$mrecorddailyrainmonth,$mrecorddailyrainday.

Any suggestion why the dates are showing up as 02-Jan-2000 and 30-Nov-1999, respectively?