Find the second, third day (Monday) of every month, and of second day of 3,6,9,12 Month

Hi,

As title, I want to find the current date

  • the second day of every month
  • the third day (is Monday) of every month
  • the second day of 3,6,9,12 Months.

If True…

image

Thank all

Hi @anh.nguyen ,
but in your image → I understand , your expect output are days at read circle
-the 2nd day of month → return day of week
-the 3th day of month (if it’s Monday too)–> what is return?
-I don’t understand what are requirements 3 mean?

1 Like

Yes, I want to check current date is

  • Is the 2nd day of the month or the 3rd day of the month (is Monday)?

Another action I need to check current date is the second day of March, June, Sept, Dec(3,6,9,12)

Hi,

How about the following condition?

Today.Day=2 OrElse (Today.Day=3 AndAlso Today.DayOfWeek=DayOfWeek.Monday)

image

Another action I need to check current date is the second day of March, June, Sept, Dec(3,6,9,12)

{3,6,9,12}.Contains(Today.Month) AndAlso Today.Day=2

image

Regards,

2 Likes

that’s the result I expected, thank you

1 Like

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