I am importing a list of timestamps (hour:minutes:seconds) from a series of text files. I have the list:
{"12:41:43", "15:35:40", "18:28:38", "21:21:40", "0:14:51",
"3:07:51", "6:00:43", "8:52:17", "11:43:53", "14:35:26", "17:25:18", "20:15:13"}
I need to figure out how to get this format into a single decimal value in minutes. In excel, this can be done simply by changing the "time" format to "number". I've explored a few options related to Date[] and other functions, but nothing seems to do what I need it to do. If there's no easy way, I imagine I could break up the sections, convert each to minutes, and add them, but such a feat is currently beyond my mathematica expertise.
If anyone is wondering, the goal is to have a single mathematica spreadsheet in which we can import the raw data file from a testing apparatus, extract the values (a certain parameter vs time) and then plot them. I'm good on the parameter, I'm just stuck getting time!
times={"12:41:43", "15:35:40", "18:28:38", "21:21:40", "0:14:51", "3:07:51", "6:00:43", "8:52:17", "11:43:53", "14:35:26", "17:25:18", "20:15:13"}; minutes=(AbsoluteTime/@times -AbsoluteTime[{2015,1,1}])/60.
? $\endgroup$