diff --git a/calendar/inc/hook_home.inc.php b/calendar/inc/hook_home.inc.php
index a88e046b27..d313768a3f 100755
--- a/calendar/inc/hook_home.inc.php
+++ b/calendar/inc/hook_home.inc.php
@@ -34,7 +34,7 @@
. lang(date("F",$phpgw->calendar->today["raw"])).' '.$phpgw->calendar->today["day"].', '.$phpgw->calendar->today["year"].''
. '
';
// $phpgw->calendar->printer_friendly = True;
- $now = $phpgw->calendar->makegmttime(0,0,0,$phpgw->calendar->today['month'],$phpgw->calendar->today['day'],$phpgw->calendar->today['year']);
+ $now = $phpgw->calendar->datetime->makegmttime(0,0,0,$phpgw->calendar->today['month'],$phpgw->calendar->today['day'],$phpgw->calendar->today['year']);
echo $phpgw->calendar->print_day_at_a_glance($now).' |
'."\n";
// $phpgw->calendar->printer_friendly = False;
echo "\n".''."\n";