Display public date / time

Permalink
Hi,

I'm trying to post the public time for a calendar page I'm creating but for some reason the following doesn't seem to work:

$cobj = Page::getByID($cID);
<?php echo $cobj->getCollectionDatePublic('H:i')?>


It shows the current time, not the public time of a page.

Already found this topic but adding H:i doensn't seem to work.
http://www.concrete5.org/community/forums/customizing_c5/how_to_sho...

DoorDarius