I would like to create a new column containing a decimal hour using a half-hourly datetime column which is in POSIXct format.
Essentially my datetime column is like this: "2015-09-01 09:00:00, 2015-09-01 09:30:00, 2015-09-01 10:00:00" etc...
I would like the new decimal hour column to look like this: "9, 9.5, 10" etc...
Thank you!