title: Today epoch time irrespective of current time
body: <p>I am trying to get epoch time of today's date. But stuck with <code>ParseException</code> on Formatting date.</p>
  
  <p>Snippet:-</p>
  
  <pre><code>SimpleDateFormat df = new SimpleDateFormat("dd/mm/yyyy");
  String str = df.format(Calendar.getInstance().getTime());
  Date date = df.parse(str);
  long epoch = date.getTime();
  Log.i("Epoch" , String,valueOf(epoch));
  </code></pre>
  
  <p><em>How one can get today's epoch time?</em></p>