Add a Date on Email Notification

November 26, 2021

You may need to add submission dates in email notifier or in your Thank You message. In order to accomplish this, use {DATE} tag like the following.

If you use {DATE} without a parameter in your template it will be automatically replaced with a standard date time string as shown in the first row of the table below.

If you want to format the date string you can do so by adding a parameter to the tag: {DATE:arg}. We have some predefined parameters as shown below but if you need more customized dates you can do it with standard PHP date formatting

Tag  Output  
{DATE}  2011-02-07 05:17:05  
{DATE:Date-US}  Feb 7, 2011  
{DATE:Date-EU}  7 Feb, 2011  
{DATE:Time-US}  5:17:05 AM  
{DATE:Time-EU}  5:17:05  
{DATE:Full-US}  Feb 7, 2011 at 5:17:05 AM  
{DATE:Full-EU}  7 Feb, 2011 at 5:17:05  
{DATE:l, jS of F Y at g:i A}  Monday, 7th of February 2011 at 5:17 AM  

If you have useful formatting examples which other users can benefit please share them in the comments below.

Was this guide helpful?
Contact Support:

Our customer support team is available 24/7 and our average response time is between one to two hours.
Our team can be contacted via:

Support Forum:

Contact Jotform Support:

Send Comment:

Jotform Avatar
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.