pyo3::ffi

Function PyDateTime_GET_DAY

Source
pub unsafe fn PyDateTime_GET_DAY(o: *mut PyObject) -> i32
Available on neither PyPy nor GraalPy.
Expand description

Retrieve the day component of a PyDateTime_Date or PyDateTime_DateTime. Returns a signed integer in the interval [1, 31].

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