title: How to get current UTC timestamp in seconds
body: <p>How to get current time-stamp in UTC/GMT and then How to convert this time-stamp into seconds ? Itry this but its thrw exception </p>
  
  <pre><code>    SimpleDateFormat sdfu  = new SimpleDateFormat("yyyy-MM-dd kk:mm");
      Date udate = sdfu.parse(dateAndTimeUTC);
      long timeInMillisSinceEpoch123 = udate.getTime(); 
      long durationinSeconds2 = timeInMillisSinceEpoch123 / 1000;
      System.out.println("Time in Seconds UTC: " + durationinSeconds2);
  </code></pre>
  
  <p>Is there any better way to convert UTC/GMT time-stamp into seconds?</p>