# Automatically create a date property based on selection

**URL:** <https://community.hubspot.com/t/automatically-create-a-date-property-based-on-selection/127042>\
**Category:** Lists, Lead Scoring & Workflows\
**Tags:** workflows, professional\
**Created:** [February 27, 2025, 4:48pm UTC](https://community.hubspot.com/t/automatically-create-a-date-property-based-on-selection/127042 "2025-02-27T16:48:26Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![whistlerSign](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/whistlersign/32/205022_2.png) [@whistlerSign](https://community.hubspot.com/u/whistlerSign)\
**Post date:** [February 27, 2025, 4:48pm UTC](https://community.hubspot.com/t/automatically-create-a-date-property-based-on-selection/127042/1 "2025-02-27T16:48:26Z")

</div>

Hello,

We created a few custom Company properties for our contracted customers: Contract Sign Date, Contract Start Date, and Contract Expiration Date. Our contracts are, 99% of the time, either 12-month or 24-month contracts. How do I automatically set the Expiration Date based on the date entered into the Contract Start Date property?

---

<div class="post-metadata">

**Author:** ![karstenkoehler](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/karstenkoehler/32/68554_2.png) [@karstenkoehler](https://community.hubspot.com/u/karstenkoehler)\
**Post date:** [February 27, 2025, 4:52pm UTC](https://community.hubspot.com/t/automatically-create-a-date-property-based-on-selection/127042/2 "2025-02-27T16:52:19Z")

</div>

Hi @whistlerSign,

This can be achieved with a calculation property: [Create calculation and rollup properties](https://knowledge.hubspot.com/properties/create-calculation-properties)

The output would be a date, the formula would add the time to the start date. For the different lengths, you would use an if-statement.

Best regards

---

<div class="post-metadata">

**Author:** ![whistlerSign](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/whistlersign/32/205022_2.png) [@whistlerSign](https://community.hubspot.com/u/whistlerSign)\
**Post date:** [February 27, 2025, 5:18pm UTC](https://community.hubspot.com/t/automatically-create-a-date-property-based-on-selection/127042/3 "2025-02-27T17:18:06Z")

</div>

Thank you for the reply. After digging a little more I ended up on this thread: [https://community.hubspot.com/t5/CRM/How-can-I-calculate-a-date-field-based-off-another-date-field/m-p/450667](https://community.hubspot.com/t5/CRM/How-can-I-calculate-a-date-field-based-off-another-date-field/m-p/450667) which has a perfect app on the marketplace for what I need, with the hassle of doing any custom calculations. It’s called “Workflow Date Calculator.”

---

<div class="post-metadata">

**Author:** ![karstenkoehler](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/karstenkoehler/32/68554_2.png) [@karstenkoehler](https://community.hubspot.com/u/karstenkoehler)\
**Post date:** [February 27, 2025, 8:38pm UTC](https://community.hubspot.com/t/automatically-create-a-date-property-based-on-selection/127042/4 "2025-02-27T20:38:56Z")

</div>

@whistlerSign definitely an optoin, but one that seems to require a workflow to run. Calculation properties are independent of workflows (and workflow outages) and don’t require access of a third-party app to your portal – but yes, a valid option.

---

<div class="post-metadata">

**Author:** ![whistlerSign](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/whistlersign/32/205022_2.png) [@whistlerSign](https://community.hubspot.com/u/whistlerSign)\
**Post date:** [February 27, 2025, 11:16pm UTC](https://community.hubspot.com/t/automatically-create-a-date-property-based-on-selection/127042/5 "2025-02-27T23:16:07Z")

</div>

I don’t mind the workflow to operate it. Thank you for your suggestion though.
