https://stackoverflow.com/questions/9724906/python-date-of-the-previous-month
Anonymous
You can always add complexity.