Jump to content
Henry Olive

First Business Day Of Next Month ?

Recommended Posts

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

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

Isn't the Next Business Day dependent on the local holidays? (f.i. Bank Holidays in England)

  • Like 1

Share this post


Link to post

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

Not without either keeping a manual list somewhere, or checking some sort of calendar service.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×