Hello Everyone,
Trying to calculate the number of business days (in LabVIEW) between two given dates but haven't found a library or tool to do this yet.
Basically the following formula:
____________________________
CalcBusinessDays(Date1 as integer, Date 2 as integer)
ReturnVal = Date 2 - Date 1 - (# of weekends contained) - (# of holidays contained)
Return ReturnVal
__________________________________________
Does anyone know of a tool that accomplishes this goal? Done some quick searches on Ni.com, LAVA, google, VIPM, Open G and haven't found anything. This has to exist and I've just missed it somehow.
Thanks,
Tim