How to Check Today's is Third Thursday of month or not

Hi all,

I have one doubt How we can check today’s is 3rd Thursday of month or not. Kindly to get solution

Hi,

How about the following?

d = DateTime.Today

Then, condition will be

d.DayOfWeek = DayOfWeek.Thursday AndAlso d.Day>=15 AndAlso d.Day<=21

Regards,

2 Likes

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