how hard would it be to get php to determine the year and month of the server, then display a calendar in HTML format, just a small one that looks like this for exampple
SUN MON TUE WED THU FRI SAT 1 2 3 4 5 6 7 8 9 10 11 12 13
you get the idea...
Are you asking for complete code?
PHP can do this no problem, the question is how elegant/terse do you want the code? 🙂
sorry, i was asking for an example somewhere this might be... thanks again
Here's a piece of code to get started...
$now=time(); $secs_in_a_day=86400; $month=date("F",$now); $year=date(Y,$now); $first=date("D",($now - (date("d",$now) - 1) * $secs_in_a_day)); echo $month." 1st, ".$year." was a ".$first;