title: Convert.ToDateTime in Java
body: <p>Here's my code in c#.</p>
  
  <pre><code>DateTime gmtTime = Convert.ToDateTime(string.Format("{0} {1}", day[1], day[2])).Add(Convert.ToDateTime(time).TimeOfDay);
  </code></pre>
  
  <p>What I've tried in Java.</p>
  
  <pre><code>String month = "Jul";
          String day = "22";
          String gmtTime = String.format("%s %s", month, day);
          DateFormat df = new SimpleDateFormat("MMM dd");
          Date gmtDate = df.parse (gmtTime);
  </code></pre>
  
  <p>The result I'm getting into Java is July 22, 1970. How can I get the current year just like in C# when I convert a String to DateTime the year is the current year. Is possible to have a code just like what I've tried in my c# code to transfer it to Java? </p>
  
  <p>Hoping to get a good result. Thanks</p>