title: How do I parse a standard date into GMT?
body: <p>Can someone show me a piece of java code that parses this date:</p>
  
  <p>2009-08-05</p>
  
  <p>INTO THIS GMT DATE:</p>
  
  <p>2009/217:00:00</p>
  
  <p>====</p>
  
  <p>what i have so far is:</p>
  
  <pre><code>       java.text.SimpleDateFormat format = new SimpleDateFormat("yyyy-mm-dd");
  
         java.util.Calendar cal = Calendar.getInstance(new SimpleTimeZone(0, "GMT"));
         format.setCalendar(cal);
         java.util.Date date = format.parse(sdate);
  </code></pre>
  
  <p>but its not working</p>