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(); ?>
M | T | W | T | F | S | S |
---|---|---|---|---|---|---|
".$Day->thisDay()." | \n" ); } else if ( $Day->isEmpty() ) { echo ( "\n" ); } else { echo ( " | ".$Day->thisDay()." | \n" ); } // isLast() to find end of week if ( $Day->isLast() ) echo ( "||||
<< | >> |