<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: inserting date into email template in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/inserting-date-into-email-template/m-p/797112#M34278</link>
    <description>&lt;P&gt;Since this thread still gets activity just wanted to note that datetimeformat() has been deprecated and replaced with &lt;STRONG&gt;format_datetime&lt;/STRONG&gt;, &lt;STRONG&gt;format_date&lt;/STRONG&gt;, and &lt;STRONG&gt;format_time&lt;/STRONG&gt;. I just released a blog post that talks about dynamic dates in detail with many exmaples of these new functions if you want to learn more :&amp;nbsp;&lt;A href="https://www.alyssawilie.com/blog/add-dynamic-dates-to-automated-emails" target="_blank"&gt;https://www.alyssawilie.com/blog/add-dynamic-dates-to-automated-emails&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 22 May 2023 14:28:46 GMT</pubDate>
    <dc:creator>alyssamwilie</dc:creator>
    <dc:date>2023-05-22T14:28:46Z</dc:date>
    <item>
      <title>inserting date into email template</title>
      <link>https://community.hubspot.com/t5/CMS-Development/inserting-date-into-email-template/m-p/360963#M18000</link>
      <description>&lt;P&gt;i have email template for our lead follow up emails where we usually suggest a date 2 business days of sending the email. currently, it is a pain to manually update the date every time we send email. is there a way to insert it dynamically the way we can do the personalization attributes?&lt;/P&gt;</description>
      <pubDate>Tue, 11 Aug 2020 06:06:45 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/inserting-date-into-email-template/m-p/360963#M18000</guid>
      <dc:creator>vikram-mit</dc:creator>
      <dc:date>2020-08-11T06:06:45Z</dc:date>
    </item>
    <item>
      <title>Re: inserting date into email template</title>
      <link>https://community.hubspot.com/t5/CMS-Development/inserting-date-into-email-template/m-p/361360#M18043</link>
      <description>&lt;P&gt;There is no token that you can use that inserts the date.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One thing you could try is a workflow to manage the email send. If you use a workflow then you can have a field with the date that triggers the email then you can use a personalization token for a date field.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Aug 2020 08:28:31 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/inserting-date-into-email-template/m-p/361360#M18043</guid>
      <dc:creator>kamlesh_k</dc:creator>
      <dc:date>2020-08-12T08:28:31Z</dc:date>
    </item>
    <item>
      <title>Re: inserting date into email template</title>
      <link>https://community.hubspot.com/t5/CMS-Development/inserting-date-into-email-template/m-p/402482#M20711</link>
      <description>&lt;P&gt;Can we please get on creating such an option. Competitors like Salesloft and others have had this implemented for years.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jan 2021 20:55:12 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/inserting-date-into-email-template/m-p/402482#M20711</guid>
      <dc:creator>fdasilva</dc:creator>
      <dc:date>2021-01-22T20:55:12Z</dc:date>
    </item>
    <item>
      <title>Re: inserting date into email template</title>
      <link>https://community.hubspot.com/t5/CMS-Development/inserting-date-into-email-template/m-p/402518#M20716</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/141455"&gt;@vikram-mit&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You don't need a personalization token or workflow. You just need one little line of HubL -&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{{ datetimeformat(local_dt, '%B %e, %Y') }}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;You can hardcode it into a module or you can even paste it into the HTML of a richtext module. Note: if placed in a richtext module it'll show as code in the page editor, but the date will be rendered in preview and on send). Ex:&lt;BR /&gt;&lt;BR /&gt;Page Editor (Do not type directly into the rich text, open the source code)&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="email-date-03.png" style="width: 579px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/36896i0C19287E789C7219/image-dimensions/579x154?v=v2" width="579" height="154" role="button" title="email-date-03.png" alt="email-date-03.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="email-date-02.png" style="width: 579px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/36894i48CF748FB0B6A19C/image-size/large?v=v2&amp;amp;px=999" role="button" title="email-date-02.png" alt="email-date-02.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Preview&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="email-date.png" style="width: 647px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/36895i833E3C3124A9FBE5/image-size/large?v=v2&amp;amp;px=999" role="button" title="email-date.png" alt="email-date.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jan 2021 23:57:33 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/inserting-date-into-email-template/m-p/402518#M20716</guid>
      <dc:creator>alyssamwilie</dc:creator>
      <dc:date>2021-01-22T23:57:33Z</dc:date>
    </item>
    <item>
      <title>Re: inserting date into email template</title>
      <link>https://community.hubspot.com/t5/CMS-Development/inserting-date-into-email-template/m-p/404205#M20796</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to add a variable date as well, but I'd like to add, for example, 21 days after the current date. I'm using this to communicate an expiration date that changes with an email send from a workflow.&amp;nbsp; It can't link to the content.update information.&amp;nbsp; It needs to link to whatever date the email is sent out.&amp;nbsp; Can you help me?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Lora B&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2021 17:12:49 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/inserting-date-into-email-template/m-p/404205#M20796</guid>
      <dc:creator>LoraBergeron</dc:creator>
      <dc:date>2021-01-28T17:12:49Z</dc:date>
    </item>
    <item>
      <title>Re: inserting date into email template</title>
      <link>https://community.hubspot.com/t5/CMS-Development/inserting-date-into-email-template/m-p/404215#M20799</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/149996"&gt;@LoraBergeron&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use the plus_time filter to get a future date from the current date, like so:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{% set future_date = local_dt|plus_time(21, 'days')%}
{{ datetimeformat(future_date, '%B %e, %Y') }}&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 28 Jan 2021 17:36:35 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/inserting-date-into-email-template/m-p/404215#M20799</guid>
      <dc:creator>alyssamwilie</dc:creator>
      <dc:date>2021-01-28T17:36:35Z</dc:date>
    </item>
    <item>
      <title>Re: inserting date into email template</title>
      <link>https://community.hubspot.com/t5/CMS-Development/inserting-date-into-email-template/m-p/404230#M20800</link>
      <description>&lt;P&gt;Thank you, thank you!!&amp;nbsp; Works perfectly!&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2021 18:00:39 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/inserting-date-into-email-template/m-p/404230#M20800</guid>
      <dc:creator>LoraBergeron</dc:creator>
      <dc:date>2021-01-28T18:00:39Z</dc:date>
    </item>
    <item>
      <title>Re: inserting date into email template</title>
      <link>https://community.hubspot.com/t5/CMS-Development/inserting-date-into-email-template/m-p/438920#M23173</link>
      <description>&lt;P&gt;This is great!!&lt;/P&gt;&lt;P&gt;I've been looking through HubL, some really good stuff.&amp;nbsp;&lt;/P&gt;&lt;P&gt;One more additional question on this one.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in a workflow within an email can I set the date as 'end of the month' for example: Available until the end of &lt;STRONG&gt;May&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;So then June arrives and it will prepopulate to now be&amp;nbsp;Available until the end of &lt;STRONG&gt;June.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 19 May 2021 08:58:47 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/inserting-date-into-email-template/m-p/438920#M23173</guid>
      <dc:creator>CCassidy</dc:creator>
      <dc:date>2021-05-19T08:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: inserting date into email template</title>
      <link>https://community.hubspot.com/t5/CMS-Development/inserting-date-into-email-template/m-p/439669#M23212</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/191346"&gt;@CCassidy&lt;/a&gt; You can grab the current month like so :&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{{ datetimeformat(local_dt, '%B') }} &lt;/LI-CODE&gt;
&lt;P&gt;So at the time of me posting this that code would output "May" then on June 1st it'll start outputting "June".&lt;/P&gt;</description>
      <pubDate>Thu, 20 May 2021 20:02:38 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/inserting-date-into-email-template/m-p/439669#M23212</guid>
      <dc:creator>alyssamwilie</dc:creator>
      <dc:date>2021-05-20T20:02:38Z</dc:date>
    </item>
    <item>
      <title>Re: inserting date into email template</title>
      <link>https://community.hubspot.com/t5/CMS-Development/inserting-date-into-email-template/m-p/484054#M24674</link>
      <description>&lt;P&gt;Hello Alyssa,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way how to change the format of personalization tokens? For example, instead of 7/14/2022, the output will be Jul&amp;nbsp;14, 2022.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;Here's what it looks like from the source code:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2021-08-24 at 8.30.30 PM.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/48794iA6D844BACFD4E63E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screen Shot 2021-08-24 at 8.30.30 PM.png" alt="Screen Shot 2021-08-24 at 8.30.30 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Aug 2021 12:33:34 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/inserting-date-into-email-template/m-p/484054#M24674</guid>
      <dc:creator>Glay_Imutan</dc:creator>
      <dc:date>2021-08-24T12:33:34Z</dc:date>
    </item>
    <item>
      <title>Re: inserting date into email template</title>
      <link>https://community.hubspot.com/t5/CMS-Development/inserting-date-into-email-template/m-p/484079#M24675</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/207497"&gt;@Glay_Imutan&lt;/a&gt; I believe using the filter instead of the function is better suited for personalization tokens:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{{ company.subscription_end_date|datetimeformat('%b %e, %Y') }}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Aug 2021 13:21:17 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/inserting-date-into-email-template/m-p/484079#M24675</guid>
      <dc:creator>alyssamwilie</dc:creator>
      <dc:date>2021-08-24T13:21:17Z</dc:date>
    </item>
    <item>
      <title>Re: inserting date into email template</title>
      <link>https://community.hubspot.com/t5/CMS-Development/inserting-date-into-email-template/m-p/484351#M24691</link>
      <description>&lt;P&gt;That was fast! Thanks Alyssa. I tried the script above however I think I missed something?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Here's what it looks like from the source code:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2021-08-25 at 2.30.02 AM.png" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/48833i6C61F0DFCDD20AD6/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2021-08-25 at 2.30.02 AM.png" alt="Screen Shot 2021-08-25 at 2.30.02 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;It doesn't reflect the date as it should be. It appears blank on the "preview" mode:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2021-08-25 at 1.56.26 AM.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/48824i455BE09638EAF5DD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screen Shot 2021-08-25 at 1.56.26 AM.png" alt="Screen Shot 2021-08-25 at 1.56.26 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What could be the problem?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Aug 2021 18:33:28 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/inserting-date-into-email-template/m-p/484351#M24691</guid>
      <dc:creator>Glay_Imutan</dc:creator>
      <dc:date>2021-08-24T18:33:28Z</dc:date>
    </item>
    <item>
      <title>Re: inserting date into email template</title>
      <link>https://community.hubspot.com/t5/CMS-Development/inserting-date-into-email-template/m-p/484365#M24692</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/207497"&gt;@Glay_Imutan&lt;/a&gt;&amp;nbsp;Sorry, I completely missed that this post was about email. Unfortantely, Hubspot does not support formatting on contact properties in email. &lt;span class="lia-unicode-emoji" title=":pensive_face:"&gt;😔&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As stated in their &lt;A href="https://developers.hubspot.com/docs/cms/hubl/filters?_ga=2.10775348.1868918060.1629811119-95174932.1629811119" target="_blank" rel="noopener"&gt;documentation&lt;/A&gt; :&lt;BR /&gt;"Please note that using filters on &lt;STRONG&gt;any&lt;/STRONG&gt; personalization variables (such as but not limited to contacts, company, and deal variables) is not currently supported for email in HubSpot due to how emails are rendered"&lt;/P&gt;</description>
      <pubDate>Tue, 24 Aug 2021 18:42:41 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/inserting-date-into-email-template/m-p/484365#M24692</guid>
      <dc:creator>alyssamwilie</dc:creator>
      <dc:date>2021-08-24T18:42:41Z</dc:date>
    </item>
    <item>
      <title>Re: inserting date into email template</title>
      <link>https://community.hubspot.com/t5/CMS-Development/inserting-date-into-email-template/m-p/484375#M24696</link>
      <description>&lt;P&gt;Oh no worries! thanks for checking and for helping me. Greatly appreciate your effort &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll just use zapier to do the format.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Aug 2021 18:52:38 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/inserting-date-into-email-template/m-p/484375#M24696</guid>
      <dc:creator>Glay_Imutan</dc:creator>
      <dc:date>2021-08-24T18:52:38Z</dc:date>
    </item>
    <item>
      <title>Re: inserting date into email template</title>
      <link>https://community.hubspot.com/t5/CMS-Development/inserting-date-into-email-template/m-p/492419#M24988</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/91608"&gt;@alyssamwilie&lt;/a&gt;&amp;nbsp;This is really great, thanks for the solution. I'm curious to how this would work if I only wanted to show the next 4 business days? If its showing today (a Thursday), it would show Friday, Monday, and Tuesday. Is that possible through Hubl?&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Sep 2021 17:18:10 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/inserting-date-into-email-template/m-p/492419#M24988</guid>
      <dc:creator>spogue</dc:creator>
      <dc:date>2021-09-10T17:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: inserting date into email template</title>
      <link>https://community.hubspot.com/t5/CMS-Development/inserting-date-into-email-template/m-p/498821#M25235</link>
      <description>&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/11651"&gt;@spogue&lt;/a&gt; Not sure if you can get them concurrently but you can use multiple plus_time calls to get the next three days and %A in the format to get the weekday. &lt;BR /&gt;&lt;BR /&gt;{{ datetimeformat(local_dt|plus_time(1, 'days'), "%A") }}&lt;BR /&gt;{{ datetimeformat(local_dt|plus_time(2, 'days'), "%A") }}&lt;BR /&gt;{{ datetimeformat(local_dt|plus_time(3 , 'days'), "%A") }}</description>
      <pubDate>Wed, 22 Sep 2021 11:43:55 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/inserting-date-into-email-template/m-p/498821#M25235</guid>
      <dc:creator>alyssamwilie</dc:creator>
      <dc:date>2021-09-22T11:43:55Z</dc:date>
    </item>
    <item>
      <title>Re: inserting date into email template</title>
      <link>https://community.hubspot.com/t5/CMS-Development/inserting-date-into-email-template/m-p/498857#M25238</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/91608"&gt;@alyssamwilie&lt;/a&gt;&amp;nbsp;Makes sense. Have you ever seen code to only show business days?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, if I took the way you just wrote the code, but I only wanted to show the next 3 business days, is there a way to "skip" weekdays if one of those days is a Saturday or Sunday? Like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Friday, September 24, 2021&lt;/P&gt;&lt;P&gt;Monday, September 27, 2021&lt;/P&gt;&lt;P&gt;Tuesday, September 28, 2021&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again for the help.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Sep 2021 13:08:08 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/inserting-date-into-email-template/m-p/498857#M25238</guid>
      <dc:creator>spogue</dc:creator>
      <dc:date>2021-09-22T13:08:08Z</dc:date>
    </item>
    <item>
      <title>Re: inserting date into email template</title>
      <link>https://community.hubspot.com/t5/CMS-Development/inserting-date-into-email-template/m-p/498867#M25241</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/11651"&gt;@spogue&lt;/a&gt;&amp;nbsp;&amp;nbsp;You can use a for loop and if statements to increase the plus_time if the weekday lands on a Saturday or Sunday. You'll probably want to put this in a custom module instead of directly in the email though.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{% for day in [1, 2, 3] %}
  {% if datetimeformat(local_dt|plus_time(day,'days'), '%A') == "Saturday" %}
    {{ datetimeformat(local_dt|plus_time(day + 2,'days'), '%A, %B %e, %Y') }}&amp;lt;br&amp;gt;
  {% elif datetimeformat(local_dt|plus_time(day,'days'), '%A') == "Sunday" %}
    {{ datetimeformat(local_dt|plus_time(day + 1,'days'), '%A, %B %e, %Y') }}&amp;lt;br&amp;gt;
  {% else %}
    {{ datetimeformat(local_dt|plus_time(day,'days'), '%A, %B %e, %Y') }}&amp;lt;br&amp;gt;
  {% endif %}
{% endfor %}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Sep 2021 13:26:05 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/inserting-date-into-email-template/m-p/498867#M25241</guid>
      <dc:creator>alyssamwilie</dc:creator>
      <dc:date>2021-09-22T13:26:05Z</dc:date>
    </item>
    <item>
      <title>Re: inserting date into email template</title>
      <link>https://community.hubspot.com/t5/CMS-Development/inserting-date-into-email-template/m-p/516812#M25767</link>
      <description>&lt;P&gt;Found this while looking for a way to insert a dynamic date into an automatic email, this worked perfectly - thank you!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Oct 2021 16:53:56 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/inserting-date-into-email-template/m-p/516812#M25767</guid>
      <dc:creator>kaitlynwells</dc:creator>
      <dc:date>2021-10-27T16:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: inserting date into email template</title>
      <link>https://community.hubspot.com/t5/CMS-Development/inserting-date-into-email-template/m-p/524868#M26092</link>
      <description>&lt;P&gt;Did you manage to insert this into a template? For a 1:1 email? Or only in a Marketing email?&lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;Rob&lt;/P&gt;</description>
      <pubDate>Thu, 11 Nov 2021 17:18:50 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/inserting-date-into-email-template/m-p/524868#M26092</guid>
      <dc:creator>Rob_Gordon</dc:creator>
      <dc:date>2021-11-11T17:18:50Z</dc:date>
    </item>
  </channel>
</rss>

