title: Can a timestamp be extracted from GUID generated using mongodb c# driver AscendingGuidGenerator?
body: <p>Function that generates timestamp based guid</p>
  <pre><code>public Guid GenerateId(
  byte[] machineProcessId,
  int increment)
  {
     var tickCount = DateTime.UtcNow.Ticks;
     var a = (int)(tickCount &gt;&gt; 32);
     var b = (short)(tickCount &gt;&gt; 16);
     var c = (short)(tickCount);
     var d = new byte[8];
     Array.Copy(machineProcessId, d, 5);
     d[5] = (byte)(increment &gt;&gt; 16);
     d[6] = (byte)(increment &gt;&gt; 8);
     d[7] = (byte)(increment);
     var guid= new Guid(a, b, c, d);
     return guid;
  }
  </code></pre>
  <p>Sample <code>GUID</code> based on above function: <code>08d855c4-987c-51df-70db-ff1d6c000001</code></p>
  <p><a href="https://github.com/mongodb/mongo-csharp-driver/blob/14e046f23640ff9257c4edf53065b9a6768254d4/src/MongoDB.Bson/Serialization/IdGenerators/AscendingGuidGenerator.cs#L107" rel="nofollow noreferrer">Mongo-C#-Driver</a></p>