Skip to main content

PyDateTime_GET_MONTH

Function PyDateTime_GET_MONTH 

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

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