I have a Table generated by reading a set of Excel files using the code:
files = FileNames["*.xls", {"D:\\Dados\\"}]
data = Table[
Import[files[[j]], {"Data", 1, Range[5, 133], {2, 4}}], {j, 1,
Length[files]}]
But unfortunately, the program that generates the spreadsheets is writing the date and time in text format, and the result of the reading (data) is:
{{{"2021-08-01 05:47:47", 0.}, {"2021-08-01 05:52:47",
0.}, {"2021-08-01 05:57:47", 26.3}, {"2021-08-01 06:02:47",
48.3}, {"2021-08-01 06:07:48", 85.4}, {"2021-08-01 06:12:48",
178.7}, {"2021-08-01 06:17:48", 260.9}, {"2021-08-01 06:22:49",
309.1}, {"2021-08-01 06:27:49", 378.5}, {"2021-08-01 06:32:49",
347.3}, ,...
....
..., {"2021-08-11 16:00:42", 929.7}, {"2021-08-11 16:05:43",
862.2}, {"2021-08-11 16:10:43", 781.9}, {"2021-08-11 16:15:43",
716.}, {"2021-08-11 16:20:44", 641.5}, {"2021-08-11 16:25:44",
575.4}}}
I need to have this "date and time" column splited in two columns. One column containing the value of the day and another column containing the value of decimal hour.
Can someone help me?
Thank you in advance.