# Help with date calculations

**URL:** <https://forum.adalo.com/t/help-with-date-calculations/9134>\
**Category:** Get Help\
**Created:** [February 12, 2021, 5:17pm UTC](https://forum.adalo.com/t/help-with-date-calculations/9134 "2021-02-12T17:17:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tdhi](https://avatars.discourse-cdn.com/v4/letter/t/c77e96/32.png) [@tdhi](https://forum.adalo.com/u/tdhi)\
**Post date:** [February 12, 2021, 5:17pm UTC](https://forum.adalo.com/t/help-with-date-calculations/9134/1 "2021-02-12T17:17:58Z")

</div>

I’ve read previous posts on how to calculate days, but still can’t grasp it. @karimoo @theadaloguy @pford @devops @Victor maybe one of you could help

Two part question:

1. I have a start date and end date in my Contracts collection that users will enter. I need to calculate the number of days of each Contract and trigger a series of emails _based on the number of days of the contract_.

2. How to trigger the email series without any corresponding Adalo action. A Contract of 180 days or less will trigger a series of 5-10 emails. A Contract of 365 days or more will trigger a series of 20-30 emails. I _think_ the Zap will look for a new record in Contracts collection in Adalo, and use the “Delay” function in Zapier, followed by a Sendgrid (my ESP) email, and then loop another Delay, followed by another Sendgrid email, etc until I’ve finished the email series.

I would be more than happy to pay someone to create this workflow for me in Zapier or Integromat, using dummy emails and arbitrary delays of 10 days. I can replace with my own. I just want to launch my app already! I’ve written a few experts who are all busy (this is good for Adalo, people are building!).

---

<div class="post-metadata">

**Author:** ![tdhi](https://avatars.discourse-cdn.com/v4/letter/t/c77e96/32.png) [@tdhi](https://forum.adalo.com/u/tdhi)\
**Post date:** [February 12, 2021, 8:11pm UTC](https://forum.adalo.com/t/help-with-date-calculations/9134/2 "2021-02-12T20:11:00Z")

</div>

UPDATE: I reviewed this thread again to see if I was missing anything. Looks like I will need to export the Contract Start/End Dates to Airtable, and hook up Parabola or Integromat to sift through Airtable daily and send an email when necessary. Please DM if you can help me with this, thanks!

[Send text message on preselected date to customer?](https://forum.adalo.com/t/send-text-message-on-preselected-date-to-customer/6060)

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/system/32/40401_2.png) [@system](https://forum.adalo.com/u/system)\
**Post date:** [February 22, 2021, 8:11pm UTC](https://forum.adalo.com/t/help-with-date-calculations/9134/3 "2021-02-22T20:11:50Z")

</div>

Closed on February 22, 2021, 8:11pm UTC

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
