Come on, it's easy Don't be afraid to try things- I promise PHP won't blow up your host if you make a mistake...
JavaScript would truly be the better way to format/display the date. You should only use PHP to send your time strings to JavaScript if they're stored server-side.
For example, the PHP date function I used in this post is completely useless if you're coding PHP right.