mooflow.utils.days_in_month

mooflow.utils.days_in_month(dt)

calculate the number of days for any month for individual (year, dayOfYear), datetime.datetime or lists of these

Parameters
dtlist, datetime.datetime

list with (year, dayOfYear) or datetime.datetime object to look up

Returns
int of list of int: the number of days