Time Zone Offset for the Email Sent Date
The EML and MSG converters can now show the sent date in the time zone you choose. Emails store the sent time with an offset, often UTC or the sender's own, so the converted file could show a different hour than the reader's mail client. The new TimeZoneOffset parameter moves the date to the offset you pick, and conversions that leave it out are unchanged.
Highlights
- Available on every EML and MSG converter, across the PDF, JPG, PNG, TIFF and WEBP outputs.
- Covers every UTC offset in use today, from
-12:00to+14:00, including half and quarter hours such as+05:30and+05:45. - Works together with
DateTimeFormat. Addzzzto the format to print the offset, for exampleyyyy-MM-dd HH:mm zzzgives2026-11-06 09:36 +01:00. - The offset is fixed and does not follow daylight saving time, so send the offset that applies to the date you convert.
Parameters
TimeZoneOffset(collection, defaultdefault) - the UTC offset to show the sent date in, for example+01:00.defaultkeeps the offset stored in the email.
Try it out
- EML to PDF - API sandbox: eml-to-pdf
- MSG to PDF - API sandbox: msg-to-pdf