Skip to main content
All CollectionsSettingsEmail & PDF Templates
Date/Time formatting for date fields in Email & PDF Templates
Date/Time formatting for date fields in Email & PDF Templates
AMFG Support avatar
Written by AMFG Support
Updated over 3 weeks ago

In R56 we introduced a new way of formatting date fields that would allow you to avoid showing the timestamp when sending Emails and PDFs out to your customers if not necessary.

Now there are 3 main formats available for the date fields in Email and PDF templates:

  1. date - system format (EU: DD/MM/YYYY or US: MM/DD/YYYY)

    1. {{create_date|date}}}}

    2. As per the Management Console system setting (EU or US) from the Localization page.

  2. Longdate - 1 Jan 2000

    1. {{create_date|longdate}}}

  3. time - 00:00:00

    1. {{create_date|time}}}

The date shown in the PDF template should take the format the user has selected in their own system

All of the variables that can be formatted this way can be found in the below tables for Email and PDF templates respectively.

Email Template

Value

Order Created At (Datetime)

{{order_created}}

Production Time

{{production_time}}

Create Date

{{create_date}}

Valid Until

{{due_date}}

Delivery Date

{{delivery_date}}

Shipping Deadline

{{shipping_deadline}}

Quote Creation Date

{{quote_created_at}}

Production Deadline

{{deadline}}

Quote Created

{{quote_created_at}}

Actual Part Shipping Date

{{actual_part_shipping_date}}

Actual Item Shipping Date

{{actual_item_shipping_date}}

Actual Parcel Shipping Date

{{actual_parcel_shipping_date}}

Invoice Date

{{invoice_date}}

PDF Template

Value

Order Created At (Datetime)

{{order_created}}

Resolution

{{resolution}}

Production Time

{{production_time}}

Create Date

{{create_date}}

Valid Until

{{due_date}}

Delivery Date

{{delivery_date}}

Shipping Deadline

{{shipping_deadline}}

Quote Creation Date

{{quote_created_at}}

Time to Ship

{{time_to_ship}}

Production Deadline

{{deadline}}

Actual Part Shipping Date

{{actual_part_shipping_date}}

Actual Item Shipping Date

{{actual_item_shipping_date}}

Actual Parcel Shipping Date

{{actual_parcel_shipping_date}}

Finance Date

{{finance_date}}

Finance Terms

{{finance_terms}}

Finance Due Date

{{finance_due_date}}

Parcels Timestamp

{{timestamp}}

There are a few more important points to note when formatting the date fields.

Please keep in mind that we have 2 different pages where the date format can be set: 1. Localisation and 2. Users.



Email:

  • When an email is triggered via a Workflow rule then the date format is taken from the Localisation page.

  • When the “New Order “email is automatically sent after the order is created then the format is taken from the Users page.

  • Quote emails are also triggered with the date format from the Users page.

PDF:

  • PDF from the Projects page is taken from Localisation.

  • PDF from Invoices is taken from Localisation.

Did this answer your question?