Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago

Calcuating working days between 2 dates

Hello World!

I have seen similar post but i was finding it hard to understand. I saw some forums taking about creating a calender but I have no idea on how to do that.

 

My query is that I have a table called Assessments and I would to calculate the number of days the assesment was open for, excluding weekend. There are blanks in the end date becase the are some assessments which are still open however I want to calculate how long the assessment are opened to day for these fields.

 

 

Here is the data.

IDAssessmentTypeStart DateEnd DateNo of Days
194105Assessment19/09/201730/10/2017 
203415Assessment18/09/201709/02/2018 
206458Assessment09/02/202022/02/2020 
206461Assessment09/02/201822/02/2018 
208758Assessment17/11/201822/08/2020 
211205Assessment21/10/2020  
212010Assessment20/03/201907/05/2019 
213061Assessment28/06/201724/07/2017 
215616Assessment09/10/2017  

 

I hope this was clear to everyone 🙂

 

Thanks

Viral