title: how do i get the date/time back from a UUID type 1
body: <p>I have included the following UUID library</p>
  <pre><code>compile group: 'com.fasterxml.uuid', name: 'java-uuid-generator', version: '3.1.5'
  </code></pre>
  <p>in my build.</p>
  <p>i have some code like this</p>
  <pre><code>        NoArgGenerator timeBasedGenerator = Generators.timeBasedGenerator()
          UUID tuid = timeBasedGenerator.generate()
          Timestamp timestamp = new Timestamp ((tuid.timestamp()/1000) as Long)
          Date dateTime = new Date (timestamp.getTime())
  </code></pre>
  <p>however when I try and look at the date its nothing like what it should be so for example I get <code>uid fef57eca-7c8b-11e8-bedd-992c2ac3197a was Sun Feb 06 07:55:54 GMT 6327</code>  when today is <code>30/06/2018</code></p>
  <p>Does anyone know how to correctly extract the real date and time from a time based UUID using the <code>fasterxml.uuid</code> library?</p>
  <p>but stumped</p>
  <p>ps tried this instead</p>
  <pre><code>        UUID tuid = timeBasedGenerator.generate()
          Long t = tuid.timestamp()
          Timestamp timestamp = new Timestamp (t)
          Date dateTime = new Date (timestamp.getTime())
  </code></pre>
  <p>which gives a uid <code>ff79d7d9-7cb5-11e8-976c-6ba57a5e9636</code> and date of <code>Thu Aug 14 11:11:40 BST 4359073</code></p>