Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
How to calculate workingdays between startdate and enddate? And if enddate is null,it should consider todays date.
Hi Ramya,
as a few others have said, have a look at networkdays(), you can do a check for nulls within that and use today instead
networkdays([startdate], If(isnull([enddate]),today(),[enddate]))
hope that helps
Joe
Try networkdays().
networkdays (start:date, end_date {, holiday})
Hi Ramya
Try this
Floor(Interval(StartDate-EndDate,'DD')) -> For Days
Hope it helps
Hi Ramya,
as a few others have said, have a look at networkdays(), you can do a check for nulls within that and use today instead
networkdays([startdate], If(isnull([enddate]),today(),[enddate]))
hope that helps
Joe
=NetWorkDays(startdate, Alt(enddate, Today()))
you will have to play about a bit, interval is good, but you may have to convert to date & time as required ...
=NetWorkDays(StartDate, IF(IsNull(EndDate) or Len(Trim(EndDate))=0,Today(),EndDate))
What to be done if the Week offs are different from Saturdays and Sundays??????????????