Interviewer And Interviewee Guide

PHP Interview Question:

How can we know the number of days between two given dates using MySQL?

Submitted by: Administrator
Use DATEDIFF()

SELECT DATEDIFF(NOW(),'2008-10-01');
Submitted by: Administrator

Read Online PHP Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.