Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

mysql get date diff in months

SELECT TIMESTAMPDIFF(MONTH, '2012-05-05', '2012-06-15')
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #mysql #date #diff #months
ADD COMMENT
Topic
Name
2+2 =