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

Answer Posted / shaik abdul raheem

SELECT DATEDIFF('2006-04-01','2006-03-01')

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between echo, print and printf()?

493


What is session in c#?

519


Is php a middleware?

498


What are the design patterns in php?

504


What is the php function that removes the first element of the array and returns it?

498






What is list function with their uses.

517


Where do we use get and post?

519


Why do we use csrf token?

498


What is use of isset function in php?

573


How to update memcached when you make changes to php?

526


What are PHP Magic Methods/Functions. List them.

538


How do you trim spaces in excel?

507


What are the 5 types of variables?

551


How are cookies created?

534


What is the name of the scripting engine that powers PHP?

696