I am having a bit of a brainfart and having trouble changing ISO timestamp into seconds in c++.
The current timestamp is ISO standard in single string for example 202207032201, 2022 July 3 22:01h and for the time being I took this as an integer and placed it in an x-axis of a plot and obviously this does not work well because days and time do not go up to 100 and I am getting large gaps in the x-axis.
The timestamp is an integer type and read from the filename/fileheader and I cannot do a epoch conversion normally.
I don't remember how to convert this type of timestamp into seconds/minutes to a reference time.
Can someone remind me how to do this?
Thanks.