Answers for "get months between two dates mysql"

SQL
0

mysql get date diff in months

SELECT TIMESTAMPDIFF(MONTH, '2012-05-05', '2012-06-15')
Posted by: Guest on October-05-2020
0

select amount weeks between two dates mysql

##syntax: FLOOR(DATEDIFF(DATE(column_end_date), DATE(column_ini_date))/7)

Select FLOOR(DATEDIFF(DATE(20090215), DATE(20090101))/7);
Posted by: Guest on December-03-2020

Code answers related to "get months between two dates mysql"

Code answers related to "SQL"

Browse Popular Code Answers by Language