Skip to main content
Solved

How to calculate days from start to end of a period?

  • February 2, 2021
  • 3 replies
  • 965 views

Is there a formula or function to count the days from the beginning of a period to the end of a period specified to the ARM report form?  I tried the following but it’s not giving the correct result:

=DateDiff('d', @PeriodEnd, @PeriodStart)

Best answer by aborisova94

Hello!

You can try this formula 

=DateDiff('d',Report.GetPeriodEndDate(@EndPeriod) , Report.GetPeriodStartDate(@StartPeriod))

 

 

View original
Did this topic help you find an answer to your question?

3 replies

  • Freshman II
  • 2 replies
  • Answer
  • February 5, 2021

Hello!

You can try this formula 

=DateDiff('d',Report.GetPeriodEndDate(@EndPeriod) , Report.GetPeriodStartDate(@StartPeriod))

 

 


  • Author
  • Freshman I
  • 1 reply
  • February 5, 2021

Thank you very much, it worked! 

I only had to change the order to =DateDiff('d',Report.GetPeriodStartDate(@StartPeriod) , Report.GetPeriodEndDate(@EndPeriod) 

to obtain the result I was looking for.


  • Freshman II
  • 2 replies
  • February 5, 2021

You are welcome! :)


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings