Henry Olive 5 Posted February 5 How can i get First Business Day Of Next Month ? ( Saturday & Sunday are not Business days.) For example in February Next business day of next month is March-01 In May Next business day of next month is June-03 Thank You Share this post Link to post
Lars Fosdal 1792 Posted February 5 Have a look at System.DateUtils. Note that there is a teorethical possibility that it is a non-business day, depending on the local holidays of the country the user is living. F.x, United States Labor Day which falls on first Monday of September Irish St.Brigid's Day is first Monday of February. Share this post Link to post
Uwe Raabe 2058 Posted February 5 Isn't the Next Business Day dependent on the local holidays? (f.i. Bank Holidays in England) 1 Share this post Link to post
Henry Olive 5 Posted February 5 Thank you so much Lars, Uwe You both are right, Is there a way to consider also local bank holidays ? Thank You Share this post Link to post
Lars Fosdal 1792 Posted February 5 Not without either keeping a manual list somewhere, or checking some sort of calendar service. Share this post Link to post
corneliusdavid 214 Posted February 6 21 hours ago, Henry Olive said: Is there a way to consider also local bank holidays This may be overkill and I'm not sure there's a way to limit to just bank holidays or to specify the country, but here's an API that boasts 5,000 holidays: https://apilayer.com/marketplace/checkiday-api 2 Share this post Link to post