curHrAsInt top-level property

int curHrAsInt

Returns local current hour as an int (1...24).

Implementation

int get curHrAsInt {
  return DateTime.now().hour;
}