Skip to main content

Timezone and Date Time Pattern for Form Email Notification

If you find the {{ Response Date }} in your Email body template showing as 2021-06-03T19:51:04.558Z, it's because the add-on processes the data in ETC/GMT Timezone and its default Date Time Pattern. To display the data in your preferred Timezone and Date Time Pattern, follow these steps:

Set up Timezone and Date Time Pattern

  1. Open the Troubleshoot menu within the add-on.

  2. Look for an option to set up your preferred Timezone and Date Time Pattern.

Set Date Time Zone

note
  • The field "Date Time Pattern" is specifically used to format {{ Response Date }}.
  • The "Date Pattern" is used to format any form field that has Date, Month, and Year.
  • If a form field is used without a year (e.g., 03-23), no formatting will be applied.

Choosing a Date Time Pattern

Sample Date Time Patterns:

  • Using yyyy.MM.dd G 'at' HH:mm:ss z will produce a result similar to 2001.07.04 AD at 12:08:56 PDT.
  • Using EEE, MMM d, ''yy will produce a result similar to Wed, Jul 4, '01.
  • Using h:mm a will produce a result similar to 12:08 PM.
  • Using hh 'o''clock' a, zzzz will produce a result similar to 12 o'clock PM, Pacific Daylight Time.
  • Using K:mm a, z will produce a result similar to 0:08 PM, PDT.
  • Using yyyyy.MMMMM.dd GGG hh:mm aaa will produce a result similar to 02001.July.04 AD 12:08 PM.
  • Using EEE, d MMM yyyy HH:mm:ss Z will produce a result similar to Wed, 4 Jul 2001 12:08:56 -0700.
  • Using yyMMddHHmmssZ will produce a result similar to 010704120856-0700.
  • Using yyyy-MM-dd'T'HH:mm:ss.SSSZ will produce a result similar to 2001-07-04T12:08:56.235-0700.
  • Using yyyy-MM-dd'T'HH:mm:ss.SSSXXX will produce a result similar to 2001-07-04T12:08:56.235-07:00.
  • Using YYYY-'W'ww-u will produce a result similar to 2001-W27-3.
note

The provided information has been reproduced from date time patterns, and more patterns can be formed by following the same guidelines. In case the format or time zone is missing, the add-on falls back to the default Timezone and format.