D
D
Dmitry2016-09-20 21:13:03
MySQL
Dmitry, 2016-09-20 21:13:03

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

1 answer(s)
D
Dimonchik, 2016-09-20
@another_dream

stackoverflow.com/questions/5268030/last-friday-of...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question