Consider a Qdate from
QDate Mydate = ui->dateEdit->date();
For example, suppose we choose 2018/07/14 (today).
How to obtain the day of the first Friday (in this case, 6) on the chosen month (in this case, July)?
I suspect we have to use Mydate.dayOfWeek() computations.
There is probably a neater solution, but:
Code: