title: How to calculate time between 2 points
body: <p>I have <code>Wireshark</code> file with several <code>packets</code> inside.
  From user and via <code>command line arguments</code> i get from the user 2 Arguments:
  1. <code>Number of packet to add</code>.
  2. <code>delay</code>.</p>
  
  <p>Now after the first <code>packet</code> i need to add number of <code>packets</code> that the user specify and the delay between this <code>packets</code> need to be the <code>delay</code> value but this delay need to divided between all the <code>packets</code>.</p>
  
  <p>For example:
  The user send the numbers <code>150</code> and <code>8</code> so after the first <code>packet</code> i need to add another 149 new <code>packets</code> (should be 250 packets total) and the delay between all this <code>packets</code> need to be 8 <code>milliseconds</code>.
  From this first packet i have this <code>timestamp</code> property (<code>DateTime</code> object)
  So for each <code>timestamp</code> i need to add 53.33 <code>microseconds</code>.</p>
  
  <p>So this is my function that gets the first <code>packet</code>:</p>
  
  <p>int numberOfpackets;
  int delay;</p>
  
  <pre><code>private static DateTime GetNewTimeStamp(packet packet)
  {
      DateTime newTimeStamp = packet.timeStamp;
  }
  </code></pre>
  
  <p>How can i add build new <code>timestamp</code> (the time not matter only the delay) according this 2 arguments from the user ?</p>