I have series of time, signal 1 in csv.
DATA_START
Time,29099:ch2
03/06/21 13:54:46.414062500,-0.07945187928089581
03/06/21 13:54:46.421875000,-0.07949399462904694
03/06/21 13:54:46.429687500,-0.07960885466945911
i want to convert like
0.0000000000,-0.07945187928089581
0.0078125000,-0.07949399462904694
0.0156250000,-0.07960885466945911
So the first date time as start zero, next read the date and time and read the interval space as second real*8 before it. How to do it in fortran?
UPDATE: To clear up
So the first data input is the date time, the second is the real*8 accelerometer data.
The output will be interval per each data taken, and the real8 data. so the first output starting zero second. 0.d0 and data first real8 (0.d0 second,-0.07945187928089581) The second line output is the interval between first data time and the second data time 03/06/21 13:54:46.421875000 minus 03/06/21 13:54:46.414062500 and second data (0.0078125000 second, -0.07949399462904694) The third data will be interval 03/06/21 13:54:46.429687500 minus 03/06/21 13:54:46.421875000 (0.015625000,-0.07960885466945911