Calculating business days

Calculating business days

Lonnie.HullLonnie.Hull Posts: 32Questions: 11Answers: 0

Hello,

I'm attempting to calculate the number of business days (Monday-Friday) that are in my data. I have a column that shows the order date, and I want to show how many work days it's been since that date.

I've searched through the site, but I don't believe that anyone has asked about this before.

Can it be done using dataTables, or do I need to do this at the SQL side?

Thanks,

This question has an accepted answers - jump to answer

Answers

  • kthorngrenkthorngren Posts: 21,299Questions: 26Answers: 4,945
    Answer ✓

    You can create a column for "Work Days" then use columns.render to perform the calculation from the row data and populate in that column.

    Kevin

This discussion has been closed.