johncassell
Well-known member
Hi There,
I have a problem on a form and, although I could probably work out a way to do it, i know for a fact it would be very long winded and was hoping some clever chap could help me with a simpler version.
What I need:
I have a form with a datetimepickerbox. When the form loads, the date in the box is todays date. I need it to be the date of the previous sunday.
Example: Today is Sunday, 17th June. Datebox displays 17th June.
Today is Saturday 16th June. Datebox displays 10th June.
Could anyone help with this please?
Thanks
John
I have a problem on a form and, although I could probably work out a way to do it, i know for a fact it would be very long winded and was hoping some clever chap could help me with a simpler version.
What I need:
I have a form with a datetimepickerbox. When the form loads, the date in the box is todays date. I need it to be the date of the previous sunday.
Example: Today is Sunday, 17th June. Datebox displays 17th June.
Today is Saturday 16th June. Datebox displays 10th June.
Could anyone help with this please?
Thanks
John
Last edited: