Rohan Ramani

Rohan Ramani

  • NA
  • 786
  • 145.9k

How to get the list of weeks for the particular month using c#?

Mar 24 2021 8:02 AM
Hello,
 
I need the list of weeks of the perticular month with from and to date of week
 
ie.   if I select March-2021 I need the list as below..
 
01/03/2021 -- 07/03/2021
08/03/2021 -- 14/03/2021
15/03/2021 -- 21/03/2021
22/03/2021 -- 28/03/2021 
29/03/2021 -- 31/03/2021 

Answers (3)