If-Condition: New Month

Hey Guys,

I am working on a If-Condition.

My process is running every month. Every first Monday of the month something else needs to happen then the rest of the month.
What do I need to put into my condition to separate beginning of a new month to the rest of the month?

Thank you a lot,

Rebekka

DateTime.Now.Day.Equals(1)

@sriharisai_Vasi you are amazing for texting back this fast! Thank you.

Will that online contribute to (1) as for example June, 1 ? (Or first time robot is running

Sry I did not read question properly…
u can use this
DateTime.Now.DayOfWeek.Equals(“Monday”) and DateTime.Now.Day<=7

1 Like

Thank you, that works!

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