<?php
// Construct a French calendar for the year 2000
include("cal2.php");
$cal = new Calendar;
// First, create an array of month names, January through
December
$italianMonths = array("Gennaio", "Febbraio", "Marzo", "Aprile", "Maggio",
"Giugno", "Luglio", "Agosto", "Settembre",
"Ottobre", "Novembre", "Dicembre");
// Then an array of day names, starting with Sunday
$italianDays = array("D", "L", "M", "M", "G", "V", "S");
$cal->setMonthNames($italianMonths);
$cal->setDayNames($italianDays);
echo $cal->getYearView(2000)
?>
|