Function pyo3_ffi::PyDateTime_GET_MONTH

source ·
pub unsafe fn PyDateTime_GET_MONTH(o: *mut PyObject) -> c_int
Expand description

Retrieve the month component of a PyDateTime_Date or PyDateTime_DateTime. Returns a signed integer in the range [1, 12].