Print mondays between given dates

Hi,

How can we print dates on mondays between the given start date and end date?

Please provide the code for it.

For Example:

Input:

Start Date: 24/May/2021

End Date: 25 June/2021

output:

            31/May/2021 

            07/June/2021   

            14/June/2021

             21/June/2021

  Discussion posts and replies are publicly visible