title: Get a less specific number - from another number
body: <p>Right, sorry I can't think of the correct words to google this. So I'll have to ask.</p>
  
  <p>I've got a <code>long</code> (<code>System.currentTimeMillis()</code>)</p>
  
  <p>Lets say</p>
  
  <p>3453646345345345</p>
  
  <p>I want to remove the last six (or other number of) digits and I think I can do this doing some kind of bit shift?</p>
  
  <p>so I would end up with</p>
  
  <p>3453646345</p>
  
  <p><em>EDIT</em></p>
  
  <p>I wanted to get the <code>System.currentTimeMillis()</code> within a time box, so if I ask for the time then ask again 29 seconds later it will return the same number but if I ask 31 seconds later it will return a different number. With the 30 second timebox being configurable.</p>