<?php require('tdit_functions.php'); date_default_timezone_set('Europe/London'); for ($mon=1;$mon<13;$mon++) { $daysinmonth=cal_days_in_month(CAL_GREGORIAN,$mon,2000); //ob_start(); for ($day=1;$day<=$daysinmonth;$day++) { print date("jS F",mktime(1,1,1,$mon,$day,2000))."<br>".tdit_dm('',$day,$mon)."<hr/>"; } //ob_end_flush(); } ?>