Skip to main content

PyDateTime_TIME_GET_HOUR

Function PyDateTime_TIME_GET_HOUR 

pub unsafe fn PyDateTime_TIME_GET_HOUR(o: *mut PyObject) -> i32
Available on crate feature tls and neither PyPy nor GraalPy only.
Expand description

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