Overview

Merge fields, also known as tokens, can be used to pull dynamic information from contacts in SchoolAdmin into various parts of the system. To learn more about the various uses for merge fields, click here.

Date merge fields can be used to pull the current date into your templates in a variety of formats. All date merge fields are under the System category.

--

How-To

Merge fields can be added to a template through the Merge Field Picker or by typing/copying them directly into the body of the template. Learn more in our 'How to Pull in Dynamic Information' section here.

Current Date Long

Pulls the current date written out with the year.

  • Merge Field: {{system.current_date_long}}
  • Example: May 19, 2020

Current Date Short

Pulls the current date written out with month and day only.

  • Merge Field: {{system.current_date_short}}
  • Example: May 19

Current Date Numerical

Pulls the current date in MM/DD/YYYY format.

  • Merge Field: {{system.current_date_numerical}}
  • Example: 05/19/2020

Please note: This merge field will pull the date in MM/DD/YYYY format regardless of the locale setting selected under Basic Setup. However, a filter can be added to the merge field to output the date in a DD/MM/YYYY format:

{{system.current_date_numerical | date: "%d/%m/%Y" }}

A more advanced reference for date formatting can be found here.

--

Related Articles

Did this answer your question?