Skip to main content

PyDateTime_DATE_GET_HOUR

Function PyDateTime_DATE_GET_HOUR 

Source
pub unsafe fn PyDateTime_DATE_GET_HOUR(o: *mut PyObject) -> c_int
Available on neither GraalPy nor PyPy and non-Py_LIMITED_API only.
Expand description

Retrieve the hour component of a PyDateTime_DateTime. Returns a signed integer in the interval [0, 23]

⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here