title: Filter a pcap dump file for a specific time range
body: <p>Is there any easy way to create a <em>pcap file</em> for the packets related to a specific datetime range maybe using <code>tshark</code>, <code>tcpdump</code> or another commandline tool?</p>
  
  <p><code>tshark -R</code> with <code>frame.time</code> seems promising but I haven't been able to work that out yet...</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>The final command:</p>
  
  <pre><code>editcap -F libpcap -A "2013-07-20 23:00:00" -B "2013-07-20 23:20:00" input.pcap output.pcap
  </code></pre>