Title: date format in emails
Last modified: May 2, 2020

---

# date format in emails

 *  Resolved [aliviolet](https://wordpress.org/support/users/aliviolet/)
 * (@aliviolet)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/date-format-in-emails/)
 * it is possible to format dat in emails to customer? how?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Contributor [Simply Schedule Appointments Support](https://wordpress.org/support/users/simplyscheduleappointments/)
 * (@simplyscheduleappointments)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/date-format-in-emails/#post-12769792)
 * Hi There,
 * You can change the date format in notification emails by opening your Dashboard
   in WordPress and going to:
 * Appointments => Settings => Notifications => Open the notification you want to
   edit.
 * If you scroll to the “Message” section, you will see the following line of text:
 * Appointment scheduled for {{ Appointment.start_date | date(“F d, Y g:ia (T)”,
   Appointment.customer_timezone) }}
 * This particular piece of code can be modified to change the date format: (“F 
   d, Y g:ia (T)”.
 * We use Twig for notifications, which is a PHP-based templating engine. Here are
   some more details about using the date function in Twig:
    [https://twig.symfony.com/doc/2.x/filters/date.html](https://twig.symfony.com/doc/2.x/filters/date.html)
 * And here are some more details about the PHP variables you can modify:
    [https://www.php.net/manual/en/function.date.php](https://www.php.net/manual/en/function.date.php)
 * Is there a specific date format you are looking to use in your notification?
 *  Thread Starter [aliviolet](https://wordpress.org/support/users/aliviolet/)
 * (@aliviolet)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/date-format-in-emails/#post-12769924)
 * thanks for very fast answer 🙂
 * my final solution was:
    {{ Appointment.start_date | date(“j. n. Y, G:i”, Appointment.
   customer_timezone) }}
 * great plugin!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘date format in emails’ is closed to new replies.

 * ![](https://ps.w.org/simply-schedule-appointments/assets/icon.svg?rev=2926807)
 * [Appointment Booking Calendar — Simply Schedule Appointments Booking Plugin](https://wordpress.org/plugins/simply-schedule-appointments/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simply-schedule-appointments/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simply-schedule-appointments/)
 * [Active Topics](https://wordpress.org/support/plugin/simply-schedule-appointments/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simply-schedule-appointments/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simply-schedule-appointments/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [aliviolet](https://wordpress.org/support/users/aliviolet/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/date-format-in-emails/#post-12769924)
 * Status: resolved