title: best way to get timestamp in long in android?
body: <p>I want to understand this in detail on how to get this in android and which method to follow and please explain bit more to understand in better way ?</p>
  <p>As we have some options to get this in android and find out the best.</p>
  <p>It will be helpful if somebody explains with code how to get this.</p>
  <p>Thanks in advance for your help</p>