pyo3_ffi

Function PyDateTime_GET_DAY

Source
pub unsafe fn PyDateTime_GET_DAY(o: *mut PyObject) -> c_int
Available on non-Py_LIMITED_API and neither PyPy nor GraalPy only.
Expand description

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