MySQL DATEDIFF

1 min read

Return the difference in days between two date values:

SELECT DATEDIFF("2017-06-25", "2017-06-15");
// 10

© 2023 Raegon Kim