fnHOUR function

dynamic fnHOUR(
  1. dynamic value
)

Expression function HOUR(d): Extracts the hour. The Dart result differs from the Windows engine; see the manual, Appendix C.3.

Implementation

dynamic fnHOUR(dynamic value) {
  final dt = _toDateTime(value);
  return dt?.hour ?? 0;
}