Mysql Diff Days. Likewise 1 4 years would display as 1 year and 13 9 months would display as 13 months. Mysql select datediff 2008 05 17 11 31 31 2008 04 28.
First here s the syntax. Basically the mysql datediff function gives the difference between days between two date values. Two dates to calculate the number of days between.
Likewise 1 4 years would display as 1 year and 13 9 months would display as 13 months.
Return the number of days between two date values. First here s the syntax. Mysql select datediff 2008 05 17 11 31 31 2008 04 28. In mysql you can use the datediff function to find the difference between two dates.