title: Convert date and time to milliseconds in Android
body: <p>I have <strong>Date</strong> and <strong>Time</strong> from <strong><code>DatePicker</code></strong> and <strong><code>TimePicker</code></strong>. Now i want to change the selected date and time into <strong>milliseconds</strong>. How can I do this???</p>
  
  <p>For Example I have <strong>Date</strong> selected <strong><code>2-5-2012</code></strong> and <strong>Time</strong> is <strong><code>20:43</code></strong></p>
  
  <p>Now I have to convert this Date Time into <strong>milliseconds</strong> something like </p>
  
  <p><strong>DateTimeInMilliseconds</strong> = <strong><code>1234567890</code></strong></p>