Answer the question
In order to leave comments, you need to log in
How to write a select query?
It is necessary to make a selection from SQL from last Thursday to the current moment. Googling too unintelligible options.
Any ideas?
Thank you.
UPD:
Other than the obvious one with PHP
<?php
$startdates = date("Y-m-d", strtotime("last Thursday"));
$enddates = date("Y-m-d", strtotime("next Thursday"));
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question