Display Public time attribute

Permalink
Hello,
I am no PHP developer but have fiddled around a bit.

My client wants to put up a calendar of future events. He has 2 requests:

1) If the user inputs a date and time in the attributes (Public Date and Time) how do you call the time? I know how to show the date but unsure how to show the time?

$time = $cobj->getCollectionDatePublic('j F, Y');



Ideally I would like to show it in a separate place:)

Thanks in advance
D!!

dancer
 
dancer replied on at Permalink Reply
dancer
Bump ;)
dancer replied on at Permalink Reply
dancer
Ok, due to my lack of PHP knowledge it would seem I was looking in the wrong place.

For reference goto:
http://php.net/manual/en/function.date.php...

And add whatever you like... for example

('H:i:s')


Such a dufus, sorry to waste your time

(but it may help others in the future ;)
SVijay replied on at Permalink Reply
SVijay
Hi dancer,

Check out the link, it may help you

http://www.concrete5.org/documentation/developers/helpers/date-and-...