# 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:** 8

<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:** [January 28, 2021, 5:36pm UTC](https://community.hubspot.com/t/inserting-date-into-email-template/24026/8 "2021-01-28T17:36:35Z")

</div>

@LoraBergeron

You can use the plus\_time filter to get a future date from the current date, like so:

```lia-code-sample
{% set future_date = local_dt|plus_time(21, 'days')%}
{{ datetimeformat(future_date, '%B %e, %Y') }}

```

---

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