How to get the format of a date in android?
<p>I want to get the format of a date.</p>

<p>Like I have a date as <code>2012-07-24</code></p>

<p>I need a method that will return me a string like
<code>yyyy-MM-dd</code></p>

<p>is it possible?</p>
