Home > Customizations > Templates > Date format in email templates

Date format in email templates

There are 2 options how to include the date in e-mail templates:

1. Use $date variable - this variable will be replaced by date in the application default format based on application default language.

For example: Chat transcript from: {$date}

2. Use $timestamp variable and format it using Smarty date formatting.

For example: Chat transcript from: {$timestamp|date_format:"%Y/%m/%d"}

More info about Smarty date formatting here: https://www.smarty.net/docsv2/en/language.modifier.date.format.tpl

Ready to try LiveAgent?

It's free for the first 14 days! No credit card required.

Get Started
We work well with others...
Magento Joomla Wordpress Mailchimp
Contact us


+1-800-811-6590 (Toll Free in USA & Canada)

+421 2 33 456 826 (European Union & Worldwide)

Quality Unit, LLC 616 Corporate Way, Suite 2-3278 Valley Cottage, NY 10989

Stay in touch
Blog Google+
© 2004-2020 LiveAgent.com, All rights reserved