Convert expiration date time zone in Certification kick off notification

Hi Everyone,

We need to convert the time zone for expiration date in certification kickoff notification. Below is what we used,
Option 1-
$date.format(“yyyy-MM-dd HH:mm:ss.SSS a zzzz”, $date.getDate(), $date.getLocale(), $date.getTimeZone().getTimeZone(‘EST’)) – This is taking current date to convert into EST timezone
Option 2-
$date.format(“yyyy-MM-dd HH:mm:ss.SSS a zzzz”, $certification.expiration, $date.getLocale(), $date.getTimeZone().getTimeZone(‘EST’)) – This is taking expiration date to convert into EST timezone

Option 1 works via Test Email but not on real time email trigger. Option 2 doesn’t work. Can someone please suggest on this, is there any other methods which can be used. Thank you!

@colin_mckibben Could you please assist