Mysql Diff Date Year. Let s take some mysql datediff examples. The result shows that there is eight months difference between the two periods.
Datediff 2008 05 17 11 31 31 2008 04 28 19 1 row. Let s take some mysql datediff examples. The mysql datediff syntax is.
Select datediff 2008 05 17 11 31 31 2008 04 28.
Date1 a date datetime value. Mysql select datediff 2008 05 17 11 31 31 2008 04 28. Two dates to calculate the number of days between. Datediff date1 date2 params.