Time Zone Offset for the Email Sent Date

P
Paulius
ConvertAPI

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:00 to +14:00, including half and quarter hours such as +05:30 and +05:45.
  • Works together with DateTimeFormat. Add zzz to the format to print the offset, for example yyyy-MM-dd HH:mm zzz gives 2026-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, default default) - the UTC offset to show the sent date in, for example +01:00. default keeps the offset stored in the email.

Try it out