I am stuck in getting the remaining days, hours and minutes between two dates in mySql.
I have an expiry date and I want to compare it with current DateTime and want to get days, hours and minutes.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This stackoverflow link may help you. There is many way to calculate difference between two dates and your are not oblige to do this in full SQL.
[EDIT]
I ve found a solution in SQL…