toHours static method

num toHours(
  1. num date
)

Implementation

static num toHours(num date) {
  return toMinutes(date) / 60;
}