SyntaxFix
Write A Post
Hire A Developer
Questions
What about this one? (doesn't require any extra libraries)
from datetime import date, timedelta from calendar import monthrange today = date.today() month_later = date(today.year, today.month, monthrange(today.year, today.month)[1]) + timedelta(1)