title: Calculate the time delay between send and received packets using iperf3 and tcpdump?
body: <p>I have written a bash code to run iperf3 and capture packets. Then i have extracted frame time from the .pcap file using tshark. The time is in the following format <strong>Jan 27, 2020 13:22:12.683438000 CET.</strong> </p>
  
  <p>Now i want to calculate the time difference between the sent and received packets, but I dont know how do i subtract time which is in this format.
  Which variable type should i use so that I can perform the subtraction. </p>
  
  <p>I have also used datetime library but did not get results.</p>