I have a system where the user registers the information in a Mysql database. One of the fields is DataCadastro of type Date () and it is only registered from Monday to Friday, that is, on the days that the company of that user works. I just have to get the records for the current week. I understand that to get the next 7 days, I have to do this:
SELECT * FROM tabela WHERE dataCadastro BETWEEN CURRENT_DATE()-7 AND CURRENT_DATE()
But how would I go about getting only the current week's dates?