setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); $agenda = new \pvv\side\Agenda([ new \pvv\side\social\NerdepitsaActivity, new \pvv\side\social\AnimekveldActivity, new \pvv\side\DBActivity($pdo), ]); $year = (isset($_GET['year'])) ? $_GET['year'] : date("Y"); $month = (isset($_GET['month'])) ? $_GET['month'] : date("m"); $days_before_the_first = (new DateTime($year."-".$month."-01"))->format("w") - 1; if ($days_before_the_first==-1) {$days_before_the_first = 6;} $day_of_month = ($month == date("m")) ? date("j") : -1; $days_in_month = date('t', mktime(0, 0, 0, $month, 1, $year)); ?> Kalenderverkstedet
Kalender­verk­stedet

Aktiviteter for

Forrige måned Neste måned

  • mandag
  • tirsdag
  • onsdag
  • torsdag
  • fredag
  • lørdag
  • søndag
  • getEventsBetween( new DateTimeImmutable("$year-$month-$day 00:00:00"), new DateTimeImmutable("$year-$month-$day 23:59:59")); ?>
  • ">
    .
    getName()?>
    .