title: How to calculate interval between datetime in MySQL?
body: <p>For example,how to calculate the interval between these two datetime:</p>
  
  <p>2009-09-18 00:00:00</p>
  
  <p>2009-10-17 00:00:00</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>I mean to get the interval in the format of year-month-day hour:min:seconds </p>