get working days logic inside datatable