+ Start a Discussion
Tulasiram ChippalaTulasiram Chippala 

How to find out how many quarters are there in between Start Date and End Date

We have a requirement for Dividing total contract value based on Quarters. 
Suppose Start Date = 2020, 5, 18
               End Date =  2021, 5, 18
For the above two dates, there are 5 quarters. 
             Q2, Q3, Q4 for 2020 and
             Q1, Q2 for 2021.

So, how to calculate how many quarters are there in between Start Date and End Date.

Please help me with this. Thanks in Advance.
Agustin BAgustin B
Hi Tulasiram, check this link where you have a formula to met your requirement:
https://developer.salesforce.com/forums/?id=9062I000000Xqb8QAC

If this solves your issue, please mark the answer as correct, it may help others
VinayVinay (Salesforce Developers) 
Hi Tulasiram,

Check below links which can help you.

https://success.salesforce.com/answers?id=9063A000000e3v2QAA
https://developer.salesforce.com/forums/?id=9060G000000I7kZQAS

Hope above information was helpful.

Please mark as Best Answer so that it can help others in the future.

Thanks,
Vinay Kumar