I am developing a Windows Forms application in C #. I have a DateTimePicker that I will call dtp1 .
It happens that what I need is that this dtp1 always have the date on Monday of the current week.
That is,
- If today is
Jueves 06/10/2016, the value of thisdtp1should be03/10/2016. - If we start the program with
Miércoles 12/10/2016, it should show10/10/2016.