# inserting date into email template

**URL:** <https://community.hubspot.com/t/inserting-date-into-email-template/24026>\
**Category:** CMS Development\
**Created:** [August 11, 2020, 6:06am UTC](https://community.hubspot.com/t/inserting-date-into-email-template/24026 "2020-08-11T06:06:45Z")\
**Posts on this page:** 1\
**Showing post:** 27

<div class="post-metadata">

**Author:** ![alyssamwilie](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/alyssamwilie/32/2072_2.png) [@alyssamwilie](https://community.hubspot.com/u/alyssamwilie)\
**Post date:** [May 18, 2023, 9:52pm UTC](https://community.hubspot.com/t/inserting-date-into-email-template/24026/27 "2023-05-18T21:52:45Z")

</div>

Do this:

```lia-code-sample
{% set future_date = local_dt|plus_time(10, 'days')%}
{{ datetimeformat(future_date, 'Sale Ends %B %e, %Y at Midnight') }}

```

---

_[View the full topic](https://community.hubspot.com/t/inserting-date-into-email-template/24026)._
