How to change string to datetime format in android?
<p>I am working on android project. I am setting date and time but it is displaying in the following format.</p>

<p><strong>Mon Nov 19 11:00:00 GMT+05:30 2012</strong></p>

<p>In my database table the datetime column datatype is <strong>datetime</strong>. So how can I change the above output to datetime format to store it in database. </p>

<p>Any help in this regard will be thankful.</p>
