Function pyo3::ffi::PyDateTime_GET_YEAR
source · [−]Available on non-
PyPy
only.Expand description
Retrieve the year component of a PyDateTime_Date
or PyDateTime_DateTime
.
Returns a signed integer greater than 0.