Get the number of days in a month for a given year.
Defined in <SDL3/SDL_time.h>
year | the year |
month | the month [1-12] |
Returns the number of days in the requested month, otherwise -1; call SDL_GetError() for more information.
This function is available since SDL 3.0.0.