I have events in my MySQL database, each of which has a date. When I execute an SQL query to receive all events in the future, I get an error message ... Although the date of the events is in the future. When I modify my SQL query to select dates in the past, I get them from the future ...
The above SQL query worked before then, but for some reason it stopped working ...
I am using this SQL query:
$sql = "SELECT * FROM calendar WHERE date >= CURDATE() order by `date`";
I get an empty array as a result ...
However, if I change the request to this, I get all the events in my database:
$sql = "SELECT * FROM calendar WHERE date <= CURDATE() order by `date`";
This is my data in the database. In my opinion, all the data in the future ... 
The date table format is the default date type:

When I ask my server about the time echo date("Ymd"); I get today's date as a result ...
So where can I make a mistake?
source share