Link to home
Start Free TrialLog in
Avatar of SimpleJ
SimpleJ

asked on

C# number of workdays

Hello.

I would like to get number of working days in current month and year until today (C#).

e.g.: today is 12.5.2009 -->  8 working days
tomorrow it will be 13.5.2009 --> 9 working days


Thank you.
SOLUTION
Avatar of crystal_tower
crystal_tower

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
In http:Q_24377674.html I explained this process for VB, but that's the other way around (given the number of business days, how many "normal" days would that be?).
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
something wrong with my pasting of links at EE... Sorry about the clutter. Last time: https://www.experts-exchange.com/questions/24377674/Determine-date-excluding-weekends-using-VB-NET.html
Avatar of SimpleJ
SimpleJ

ASKER

Thank you
> I used abel s method.

nice and tx. You accidentally hit the "Accept and Award Point" of your own comment (which effectively makes your comment the solution, which it isn't), instead, I believe you wanted to assign points to me and crystal_tower. You can do so by clicking the "Accept Multiple Solutions". See screenshot for the difference between the two.

Note that the first one (the one in red) is only considered good if you found the solution yourself. Also see closing questions.

ScreenShot270.png
objection reviewers: see comment http:#24363631
Avatar of SimpleJ

ASKER

Thanks for the info.