12) {
      $Month = 1;
      $Year++;
   }
   $currMonth = sprintf("%d-%02d",$Year,$Month);
}

echo("Total,$total\n");
?>