Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 67288

Calculating number of work days / business days

$
0
0

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


Viewing all articles
Browse latest Browse all 67288

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>