title: Android: Compare time in this format `yyyy-mm-dd hh:mm:ss` to the current moment
body: <p>I want to get the current time on the device in the format: 2013-10-17 15:45:01 ?</p>
  
  <p>The server sends me the date of an object in the format above as a string.  Now i want to get the phones current time and then check if there is a difference of say more than 5 minutes?</p>
  
  <p>So A:  How can i get the devices current time in this fomat: <code>2013-10-17 15:45:01</code></p>
  
  <p>B how can I work out the difference between the two.</p>