How to get date time stamp in android?
<pre><code>java.text.DateFormat dateFormat = android.text.format.DateFormat.getDateFormat(getApplicationContext());
String date = dateFormat.format(new Date());
</code></pre>

<p>Currently i can use this code to get time in dd/mm/yyyy format.</p>

<p>what i would like to get is date and time with no formatting..so for</p>

<p>15/04/2011 12:00:00
i want :</p>

<p>15042011120000</p>

<p>?</p>
