rolling your own time library is as crazy as rolling your own crypto
now = datetime.now()
month_start = date(now.year, now.month, 1)
month_end = date(now.year, now.month + 1, 1) - timedelta(days=1)https://stackoverflow.com/questions/42950/get-the-last-day-o...
/s