devela::_dep::pyo3::ffi

Function PyDateTime_DATE_GET_HOUR

pub unsafe fn PyDateTime_DATE_GET_HOUR(o: *mut PyObject) -> i32 
Available on crate features dep_pyo3 and std only.
Expand description

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