Calendar

prevMonth('object'); // Get previous month as object $prev = $_SERVER['PHP_SELF'].'?y='.$PMonth->thisYear().'&m='.$PMonth->thisMonth().'&d='.$PMonth->thisDay(); $NMonth = $Month->nextMonth('object'); $next = $_SERVER['PHP_SELF'].'?y='.$NMonth->thisYear().'&m='.$NMonth->thisMonth().'&d='.$NMonth->thisDay(); ?>
build($selectedDays); ?>

## Built with Calendar_Month_Weekday::build()

getTimeStamp())); ?>
M | T | W | T | F | S | S
--- | --- | --- | --- | --- | --- | ---
fetch() ) { // Build a link string for each day $link = $_SERVER['PHP_SELF']. '?y='.$Day->thisYear(). '&m='.$Day->thisMonth(). '&d='.$Day->thisDay(); // isFirst() to find start of week if ( $Day->isFirst() ) echo ( "
\n" ); if ( $Day->isSelected() ) { echo ( "".$Day->thisDay()."\n" ); } else if ( $Day->isEmpty() ) { echo ( " | \n" ); } else { echo ( " | ".$Day->thisDay()."\n" ); } // isLast() to find end of week if ( $Day->isLast() ) echo ( "
\n" ); } ?>
<< |  | >>

Took: '.(getmicrotime()-$start).' seconds' ); ?>