title: Calculate difference between two datetimes in MySQL
body: <p>I am storing the last login time in MySQL in, <code>datetime</code>-type filed. When users logs in, I want to get the difference between the last login time and the current time (which I get using <code>NOW()</code>).</p>
  
  <p>How can I calculate it?</p>