I need to find “yesterday’s” date in this format MMDDYY in Python.

So for instance, today’s date would be represented like this:
111009

I can easily do this for today but I have trouble doing it automatically for “yesterday”.

6 Answers
6

Leave a Reply

Your email address will not be published. Required fields are marked *