Good time!
such a problem, I want to get the number of the day of the week by date, but for some reason I constantly get 4 - no matter what date I put, here’s the script
echo date("w",'2016-03-11 15:02:00')."<br>"; echo date("w",'2016-03-12 15:02:00')."<br>"; echo date("w",'2016-03-13 15:02:00')."<br>"; gives 4 4 4, maybe I did not understand correctly how the date function works? Why do I always get the 4th day?