https://stackoverflow.com/questions/9724906/python-date-of-the-previous-month
Anonymous
Prototype before polishing. Get it working before you optimize it.