Scala date time convertion using joda datetime
<p>I have try to convert date time to yyyy/MM/dd format using joda. but I got this error.</p>

<blockquote>
  <p>Invalid format: "2016-03-10T15:45:03.000+05:30" is malformed at
  "T15:45:03.000+05:30" : ()</p>
</blockquote>

<p>here is my method</p>

<pre><code>val dateFormatGeneration: DateTimeFormatter = DateTimeFormat.forPattern("yyyy-MM-dd");
            def convertDateTime(dt:DateTime):String={
                dateFormatGeneration.parseDateTime(dt.toString).toString
            }
</code></pre>

<p>simply i need to convert joda  datetime object to string as <code>yyyy/MM/dd</code> format</p>