fnHOUR function
dynamic
fnHOUR(
- 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;
}