While working on a Salesforce project, I found that I needed to format a time field from an object into VisualForce email templates and a couple VisualForce pages. The VisualForce page wasn't very difficult as I could just pass an Extension to the
tag, but Email Templates don't support Extensions.