How to calculate one day ago date time using MySQL

We should use the following statement to calculate one day ago date time using MySQL:

SELECT NOW() - INTERVAL 1 DAY;
Print Friendly, PDF & Email

Leave a Reply

Your email address will not be published. Required fields are marked *