getCollectionDatePublic - RFC 3339 formatting required
Permalinkeg: 2000-01-01T00:00:00Z
i.e. Adding a 'T' after the date, and a 'Z' after the time. This is to adhere to RFC 3339 date/time formatting (http://tools.ietf.org/html/rfc3339).
Can anyone point me in the best direction? I'm presuming I'll need a custom date-time helper here, but I'm unsure as to the correct syntax I'll need to use.
Any advice would be great!
Thanks.

Actually I didn't end up having to use a custom/overide helper for my requirements in this case - but your code example did help with getting the formatting I required for outputting the datetime.
<?=htmlspecialchars($p->getCollectionDatePublic("Y-m-d\TH:i:s\Z"));?>
Either way - this was really useful - Nice one, cheers!