Solved

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

  • 2 February 2021
  • 3 replies
  • 911 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)

icon

Best answer by aborisova94 5 February 2021, 16:39

View original

3 replies

Hello!

You can try this formula 

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

 

 

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.

You are welcome! :)

Reply


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved