title: scala dateTime weird results
body: <p>I am getting unexpected results when I am running this code:</p>
  <pre><code>  var  DateFormat_in = new SimpleDateFormat(&quot;mm/dd/yyyy HH:mm:ss&quot;);
    var  DateFormat_out = new SimpleDateFormat(&quot;yyyy-mm-dd HH:mm:ss&quot;);
    var m =&quot;4/29/2016 12:12:12&quot;
    println(str_timestamp(m,DateFormat_in,DateFormat_out)) // third
    def str_timestamp(date_str:String,format_in:SimpleDateFormat,format_out: SimpleDateFormat): DateTime =
      {
       val date = format_in.parse(date_str)
       val date_modified_str = format_out.format(date)
       println(date_modified_str) // first
       val temp = format_out.parse(date_modified_str);
       println(temp)     // second 
       val dateTime: DateTime = new DateTime(temp.getTime)
       dateTime
      }
  </code></pre>
  <p>I am getting the following:</p>
  <blockquote>
  <p>2016-12-29 12:12:12</p>
  <p>Fri Jan 29 12:12:12 CET 2016</p>
  <p>2016-01-29T12:12:12.000+01:00</p>
  </blockquote>
  <p>why the month is changing from one to one ? How to get it right ?</p>