I'd like to share with you this snip:

Format date
CTimestamp::formatDate("d/m/Y H:i", $date)
Unicorn
PHP