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 Jan 27, 2020 13:22:12.683438000 CET.
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.
I have also used datetime library but did not get results.