UNix time UTC Data

I have data in the follwing form:
i j
0.1479039937257767 2008.10.16 07:42:21
0.1504023969173431 2008.10.16 07:42:29
0.1529008001089096 2008.10.16 07:42:38
0.1553992033004761 2008.10.16 07:42:46
0.1583140045404434 2008.10.16 07:42:56
0.1612288057804108 2008.10.16 07:43:04
0.163727194070816 2008.10.16 07:43:12
0.1666419953107834 2008.10.16 07:43:20
0.1691403985023498 2008.10.16 07:43:30
0.1716388016939163 2008.10.16 07:43:38
0.1745536029338837 2008.10.16 07:43:47
0.177468404173851 2008.10.16 07:43:55
0.1803832054138184 2008.10.16 07:44:05

in which the i is magnetic field in Tesla and the j is time. I would like to create a plot that graphs time versus magentic field. my problem is how do i get C to read the j component as an actual value to read and plot on the x axis?
is there any way i can utilize the time() function to transform it into a real value?
Last edited on
You could fill a tm and pass that to one of the ctime functions. I forget which one, at the time; there's one that converts a tm to a time_t, which is the number of seconds since the Epoch (19700101T000000Z). Here you have the advantage that the input is already nicely formatted.
Last edited on
Topic archived. No new replies allowed.