I need to get MySQL the date of the previous day at 00:00 hours.
For example if today is 21/11/2017 11:57:00
, the resulting date should be% 20/11/2017 0:00:00.000
.
In sybase I take it out this way
SELECT dateadd (dd, 0,convert (varchar (10),getdate(), 101))
However, in MySQL I do not get it.