Skip to main content
Participant
May 8, 2019
Question

Calcuating number of months between two dates

  • May 8, 2019
  • 1 reply
  • 1464 views

I have a form with two date fields. A start date and an end date. I need to calculate number of months but in kind of a different way. I need it to show how many calendar months and then take the remaining days and divide it by the number of days in that month. For example 01/01/19 thru 03/16/19 would be 2 months and 15 days. I would need the 15 days to divide by 31 days in March so the end result would be 2.48 months

This topic has been closed for replies.

1 reply

Known Participant
August 6, 2019

I have the same question! Can anyone help?!

Participant
June 16, 2022

If you don't have an answer to the quesiton... could you stop commenting? They asked a specific question that has a specific answer.

They are asking for a script and you keep giving them links to resources to learn how to right their own script. They didn't ask for links.