# Date calculations

**URL:** <https://community.startinfinity.com/t/date-calculations/2250>\
**Category:** Other\
**Created:** [October 1, 2020, 8:39pm UTC](https://community.startinfinity.com/t/date-calculations/2250 "2020-10-01T20:39:49Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![nelsonrosaispmp](https://community.startinfinity.com/letter_avatar/nelsonrosaispmp/32/6_449c533f586939b6e5f246632a46421f.png) [@nelsonrosaispmp](https://community.startinfinity.com/u/nelsonrosaispmp)\
**Post date:** [October 1, 2020, 8:39pm UTC](https://community.startinfinity.com/t/date-calculations/2250/1 "2020-10-01T20:39:50Z")

</div>

Has anyone been able to enter a date and then have the system calculate a date 7 days out, 14 days out and 28 days out automatically in separate fields. system

---

<div class="post-metadata">

**Author:** ![micck](https://community.startinfinity.com/letter_avatar/micck/32/6_449c533f586939b6e5f246632a46421f.png) [@micck](https://community.startinfinity.com/u/micck)\
**Post date:** [October 3, 2020, 6:26pm UTC](https://community.startinfinity.com/t/date-calculations/2250/2 "2020-10-03T18:26:08Z")

</div>

Hey Nelson,  
welcome to the community 😃

I could not find exactly what you were looking for, but something similar. Use workday:  
WORKDAY(DATEFIELD,10)  
Replace DATEFIELD with your date attribute you want to use.  
This will calculate a date after usually 14 days (which are usually 10 workdays)

**WORKDAY**  
**Syntax:** `WORKDAY(start_date, num_days, [holidays])`  
**Explanation:** Calculates the end date after a specified number of working days.

Maybe you can also build something complex using DATE:  
**DATE**  
**Syntax:** `DATE(year, month, day)`  
**Explanation:** Converts a year, month, and day into a date.

---

<div class="post-metadata">

**Author:** ![nelsonrosaispmp](https://community.startinfinity.com/letter_avatar/nelsonrosaispmp/32/6_449c533f586939b6e5f246632a46421f.png) [@nelsonrosaispmp](https://community.startinfinity.com/u/nelsonrosaispmp)\
**Post date:** [October 4, 2020, 10:06pm UTC](https://community.startinfinity.com/t/date-calculations/2250/3 "2020-10-04T22:06:44Z")

</div>

Thank you Micck.

That worked to perfection!

Too bad we can’t take it a step further at this point and conditionally format when the date exceeds the set parameters … I’m sure it’s coming soon.

Cheers

---

<div class="post-metadata">

**Author:** ![grazeme](https://community.startinfinity.com/letter_avatar/grazeme/32/6_449c533f586939b6e5f246632a46421f.png) [@grazeme](https://community.startinfinity.com/u/grazeme)\
**Post date:** [August 28, 2022, 6:15pm UTC](https://community.startinfinity.com/t/date-calculations/2250/4 "2022-08-28T18:15:50Z")

</div>

Does this functionality still exist, seeing as the same result can be achieved by automations?

---

<div class="post-metadata">

**Author:** ![marko](https://community.startinfinity.com/user_avatar/community.startinfinity.com/marko/32/1100_2.png) [@marko](https://community.startinfinity.com/u/marko)\
**Post date:** [September 2, 2022, 8:59am UTC](https://community.startinfinity.com/t/date-calculations/2250/5 "2022-09-02T08:59:37Z")

</div>

Hey there @grazeme

Yes, this should still be possible with our formulas. While with our automations you can offset the date or update another date attribute (static, or offset it as well) based on a trigger → it all depends on your use case and what you want to do.

(Our formulas do not work with automations - I feel like that needs to be mentioned for now)

Cheers ✌
