Quantcast
Channel: SCN : Discussion List - SAP HANA and In-Memory Computing
Viewing all articles
Browse latest Browse all 5653

WORKDAYS_BETWEEN function

$
0
0

Hi folks,

 

I'm looking for a way to calculate workdays between two dates and I don't want to include holidays (I want holidays to be considered normal days).  I noticed in our new SPS8 HANA we have this new function for WORKDAYS_BETWEEN which works great as I've tested but the problem is we dont seem to have a factory calendar setup that has zero holidays in it.  So obviously we could easily create a new factory calendar but i wasn't sure if that's the best thing to do in this case because we'd always have to maintain it OR perhaps somebody has a code snippet that works equally as well to just exclude weekends between two dates. 

 

Thanks,

-Patrick


Viewing all articles
Browse latest Browse all 5653

Trending Articles



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