The difference in months between dates in MySQL
Posted
by Darryl Hein
on Stack Overflow
See other posts from Stack Overflow
or by Darryl Hein
Published on 2008-11-14T01:38:08Z
Indexed on
2010/05/09
17:28 UTC
Read the original article
Hit count: 274
I'm looking to calculate the number of months between 2 date time fields.
Is there a better way than getting the unix timestamp and the dividing by 2 592 000 (seconds) and rounding up whithin MySQL?
© Stack Overflow or respective owner