title: Converting string to milliseconds
body: <p>I want to calculate the time difference between two dates (in the format "yyyyMMddHHmmss"). The basic idea is to first convert the string date into milliseconds and then get the time difference.</p>
  
  <pre><code>Calendar c1 = Calendar.getInstance();
  c1.setTime(new SimpleDateFormat("yyyyMMddHHmmss").parse("20110327032913"));
  System.out.println(c1.getTimeInMillis());
  Calendar c2 = Calendar.getInstance();
  c2.setTime(new SimpleDateFormat("yyyyMMddHHmmss").parse("20110327025913"));     
  System.out.println(c2.getTimeInMillis());
  </code></pre>
  
  <p>Result:</p>
  
  <p>1301189353000</p>
  
  <p>1301191153000</p>
  
  <p>Obviously, the first date is later than the second one, but its converted millisecond is smaller. Did I make any error on format?</p>