Last working day of current month


I have fixed date as last day of current month:
New DateTime(Now.Year,Now.Month,1).AddMonths(1).AddDays(-1).ToString(“yyyy-MM-dd”)

I would like to get last working day of current month, eg.
June - 2019-06-28
July - 2019-07-31
August - 2019-08-30

Is it possible to create this variable?

@Krzysztof you want last day of current month,am i correct if yes then the expression which you given above will work.

Hi @Krzysztof

I think working day is depending on your country or industry characteristics, such as national holiday.
If I’m correct, I recommend you to prefix working day calendar, for example Excel list, to calculate it.


You are right.
Thank you.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.