MySQL Forums
Forum List  »  Newbie

Date input and - number of days from input date
Posted by: Dev Chauhan
Date: May 16, 2018 08:59AM

Hello

I have following query in mysql :

(metrics_5.created_at)>'5/10/2018'- 7), Here date will be input by user and i want to subtract 7 days from input date, How to accomplish this ?


Thanks
Dev

Options: ReplyQuote


Subject
Written By
Posted
Date input and - number of days from input date
May 16, 2018 08:59AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.