CodeQL library for Python
codeql/python-all 7.1.2 (changelog, source)
Search

Primitive predicate date::getHours

Returns the hours component of the receiver (0 through 23)

int getHours()