<?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: Calculated fields See if it is possible to add an enumeration property to a date property in Sales Hub Tools</title>
    <link>https://community.hubspot.com/t5/Sales-Hub-Tools/Calculated-fields-See-if-it-is-possible-to-add-an-enumeration/m-p/1220890#M12326</link>
    <description>&lt;P&gt;Unfortunately, the notice periods vary from 30 to 180 days. Would I need to convert all the 30-180 day values to milliseconds (create a field with milliseconds for each value) and then create a calculation using the Expiration date and notice time frame? This is the calculation in Excel&amp;nbsp;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;[@[Expiriation Date]]&lt;/SPAN&gt;&lt;SPAN&gt;-&lt;/SPAN&gt;&lt;SPAN class=""&gt;[@[Renewal Notice]]&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 06 Nov 2025 16:17:29 GMT</pubDate>
    <dc:creator>cbierwerth23</dc:creator>
    <dc:date>2025-11-06T16:17:29Z</dc:date>
    <item>
      <title>Calculated fields See if it is possible to add an enumeration property to a date property</title>
      <link>https://community.hubspot.com/t5/Sales-Hub-Tools/Calculated-fields-See-if-it-is-possible-to-add-an-enumeration/m-p/1220840#M12321</link>
      <description>&lt;P&gt;I have two values in my database: a Product Expiration Date and a Renewal Notice. One is the lead time required to initiate a new contract before the existing contract expires. For example, with an expiration date of 12/1/25 and a renewal notice of 30 days, you would get a new date of 11/1/25. Is it possible to subtract the number of days to the expiration date in a new field called Final Date of notice? We are tracking this on a spreadsheet, and there has to be a better way.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Nov 2025 15:21:39 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Sales-Hub-Tools/Calculated-fields-See-if-it-is-possible-to-add-an-enumeration/m-p/1220840#M12321</guid>
      <dc:creator>cbierwerth23</dc:creator>
      <dc:date>2025-11-06T15:21:39Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated fields See if it is possible to add an enumeration property to a date property</title>
      <link>https://community.hubspot.com/t5/Sales-Hub-Tools/Calculated-fields-See-if-it-is-possible-to-add-an-enumeration/m-p/1220844#M12322</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/555444"&gt;@cbierwerth23&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sure, you can find the documentation here:&amp;nbsp;&lt;A href="https://knowledge.hubspot.com/properties/create-calculation-properties" target="_blank"&gt;https://knowledge.hubspot.com/properties/create-calculation-properties&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Choose a custom equation, then add your expiration date minus the equivalent of 30 days in milliseconds. (HubSpot's time unit in calculations are ms.)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Thu, 06 Nov 2025 15:26:09 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Sales-Hub-Tools/Calculated-fields-See-if-it-is-possible-to-add-an-enumeration/m-p/1220844#M12322</guid>
      <dc:creator>karstenkoehler</dc:creator>
      <dc:date>2025-11-06T15:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated fields See if it is possible to add an enumeration property to a date property</title>
      <link>https://community.hubspot.com/t5/Sales-Hub-Tools/Calculated-fields-See-if-it-is-possible-to-add-an-enumeration/m-p/1220890#M12326</link>
      <description>&lt;P&gt;Unfortunately, the notice periods vary from 30 to 180 days. Would I need to convert all the 30-180 day values to milliseconds (create a field with milliseconds for each value) and then create a calculation using the Expiration date and notice time frame? This is the calculation in Excel&amp;nbsp;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;[@[Expiriation Date]]&lt;/SPAN&gt;&lt;SPAN&gt;-&lt;/SPAN&gt;&lt;SPAN class=""&gt;[@[Renewal Notice]]&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Nov 2025 16:17:29 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Sales-Hub-Tools/Calculated-fields-See-if-it-is-possible-to-add-an-enumeration/m-p/1220890#M12326</guid>
      <dc:creator>cbierwerth23</dc:creator>
      <dc:date>2025-11-06T16:17:29Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated fields See if it is possible to add an enumeration property to a date property</title>
      <link>https://community.hubspot.com/t5/Sales-Hub-Tools/Calculated-fields-See-if-it-is-possible-to-add-an-enumeration/m-p/1220895#M12327</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/555444"&gt;@cbierwerth23&lt;/a&gt;&amp;nbsp;as long as you have the notice time frame stored in a number property, you would simply replace the 30 in the formula with the property that stores the number:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;renewal date - (property that contains number of days) *&amp;nbsp;&lt;SPAN class="BxUVEf ILfuVd"&gt;&lt;SPAN class="hgKElc"&gt;86,400,000&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Nov 2025 16:19:29 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Sales-Hub-Tools/Calculated-fields-See-if-it-is-possible-to-add-an-enumeration/m-p/1220895#M12327</guid>
      <dc:creator>karstenkoehler</dc:creator>
      <dc:date>2025-11-06T16:19:29Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated fields See if it is possible to add an enumeration property to a date property</title>
      <link>https://community.hubspot.com/t5/Sales-Hub-Tools/Calculated-fields-See-if-it-is-possible-to-add-an-enumeration/m-p/1220899#M12328</link>
      <description>&lt;P&gt;So it would be an =If( type of calculation. Such as, if the notice is equal to 30 days, convert to milliseconds, if the notice is equal to 60 days convert to milliseconds?&lt;/P&gt;</description>
      <pubDate>Thu, 06 Nov 2025 16:25:42 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Sales-Hub-Tools/Calculated-fields-See-if-it-is-possible-to-add-an-enumeration/m-p/1220899#M12328</guid>
      <dc:creator>cbierwerth23</dc:creator>
      <dc:date>2025-11-06T16:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated fields See if it is possible to add an enumeration property to a date property</title>
      <link>https://community.hubspot.com/t5/Sales-Hub-Tools/Calculated-fields-See-if-it-is-possible-to-add-an-enumeration/m-p/1220901#M12329</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/555444"&gt;@cbierwerth23&lt;/a&gt;&amp;nbsp;I'm not following. Why an if statement if you can simply multiply the number property containing the number of days by the correct equivalent of milliseconds?&lt;/P&gt;</description>
      <pubDate>Thu, 06 Nov 2025 16:27:03 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Sales-Hub-Tools/Calculated-fields-See-if-it-is-possible-to-add-an-enumeration/m-p/1220901#M12329</guid>
      <dc:creator>karstenkoehler</dc:creator>
      <dc:date>2025-11-06T16:27:03Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated fields See if it is possible to add an enumeration property to a date property</title>
      <link>https://community.hubspot.com/t5/Sales-Hub-Tools/Calculated-fields-See-if-it-is-possible-to-add-an-enumeration/m-p/1230035#M12406</link>
      <description>&lt;P&gt;Ok, I have another question similar to my question above. I have two dates: the expiration date and the effective date. I need to calculate the number of days from today to the expiration date. Similar to Days to close in Deals, from which I copied this calculation. I do not see a property for today, and this calculation is incorrect. I need something for today's date to get it to calculate. Any Ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;max(0, round_down((([properties.expiration_date] - [properties.effective_date]) / 86400000), 0))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Dec 2025 20:08:39 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Sales-Hub-Tools/Calculated-fields-See-if-it-is-possible-to-add-an-enumeration/m-p/1230035#M12406</guid>
      <dc:creator>cbierwerth23</dc:creator>
      <dc:date>2025-12-01T20:08:39Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated fields See if it is possible to add an enumeration property to a date property</title>
      <link>https://community.hubspot.com/t5/Sales-Hub-Tools/Calculated-fields-See-if-it-is-possible-to-add-an-enumeration/m-p/1230076#M12407</link>
      <description>&lt;P&gt;Hi &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/555444"&gt;@cbierwerth23&lt;/a&gt;&lt;/SPAN&gt;,&lt;BR /&gt;&lt;BR /&gt;Thank you for posting to the Community!&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Tagging in Karsten since they were able to provide the Accepted Solution of this thread. Hi &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/111325"&gt;@karstenkoehler&lt;/a&gt; do you have any ideas for &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/555444"&gt;@cbierwerth23&lt;/a&gt;&lt;/SPAN&gt;?&lt;BR /&gt;&lt;BR /&gt;Thank you!&lt;BR /&gt;&lt;BR /&gt;Cassie, Community Manager&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Dec 2025 22:30:24 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Sales-Hub-Tools/Calculated-fields-See-if-it-is-possible-to-add-an-enumeration/m-p/1230076#M12407</guid>
      <dc:creator>chighsmith</dc:creator>
      <dc:date>2025-12-01T22:30:24Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated fields See if it is possible to add an enumeration property to a date property</title>
      <link>https://community.hubspot.com/t5/Sales-Hub-Tools/Calculated-fields-See-if-it-is-possible-to-add-an-enumeration/m-p/1230148#M12408</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/555444"&gt;@cbierwerth23&lt;/a&gt;&amp;nbsp;simply choose this calculation property type, it'll automatically reference today as part of the calculation:&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="karstenkoehler_0-1764651138621.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/162908i7306D8808BCF2D58/image-size/medium?v=v2&amp;amp;px=400" role="button" title="karstenkoehler_0-1764651138621.png" alt="karstenkoehler_0-1764651138621.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Dec 2025 04:52:34 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Sales-Hub-Tools/Calculated-fields-See-if-it-is-possible-to-add-an-enumeration/m-p/1230148#M12408</guid>
      <dc:creator>karstenkoehler</dc:creator>
      <dc:date>2025-12-02T04:52:34Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated fields See if it is possible to add an enumeration property to a date property</title>
      <link>https://community.hubspot.com/t5/Sales-Hub-Tools/Calculated-fields-See-if-it-is-possible-to-add-an-enumeration/m-p/1230273#M12409</link>
      <description>&lt;P&gt;I was able to fix the formula with a calculated field and the 'Time Until' calculation. Thank you to everyone who helped!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Dec 2025 13:06:36 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Sales-Hub-Tools/Calculated-fields-See-if-it-is-possible-to-add-an-enumeration/m-p/1230273#M12409</guid>
      <dc:creator>cbierwerth23</dc:creator>
      <dc:date>2025-12-02T13:06:36Z</dc:date>
    </item>
  </channel>
</rss>

