2nd and 4th Saturday of the month
2nd Saturday for the Month:07 of Year:2022 :09-07-2022
4th Saturday for the Month:07 of Year:2022 :23-07-2022
1st Monday for the Month:07 of Year:2022 :27-06-2022
3rd Wednesday for the Month:07 of Year:2022 :13-07-2022By default, current month is used , you can change the below code to any month and year.
To display 4th Satruday, add this code at the end.
To display 1st Monday , add this code at the end.
To display 3rd Wednesday , add this code at the end.
Formula for any day any weekday_number: For Sunday use 1, Monday=2, ... and for Saturday use 7
By using above formula we can get the number and same can be used for getting the date of any week with weekday of the month.
To get 3rd Wednesday ( day_number = 4 ) Week_number=3
Try for other days of the week.
Subscribe to our YouTube Channel here
This article is written by plus2net.com team. https://www.plus2net.com