how to insert date value in android?
<p>i am working on data manipulation using sqlite.</p>

<p>how can i insert the datetime value in sqlite</p>

<p>i implemented the below code in my app.</p>

<p>it works,</p>

<pre><code>DateFormat formatter = new SimpleDateFormat("dd MMM yyyy hh:mm:ss");
String temp=property.getFirstChild().getNodeValue();
Date s=formatter.parse(temp.substring(5, temp.length()-5));
String pubdate= formatter.format(s);
</code></pre>

<p>but i cant sort by date Crying or Very sad Crying or Very sad Crying or Very sad Crying or Very sad Crying or Very sad Crying or Very sad</p>

<p>help help help Idea Idea Idea</p>
