Converts a date to a decimal hour component
time_to_hour(times)
datetimes to convert
hours since the start of day (can be fractional)