This topic in the Bugs Category details an issue I had with the Timezone and date formatting in the email templates, and includes some code examples you can work from:
https://developer.sailpoint.com/discuss/t/email-template-v1-date-format-timezone-issues-certification-reassignment/37714/11