I have the code below that returns the date in the following format: m/d/yyyy, but I would like it to return it as mm/dd/yy( So it would show a 0- before single digit dates and only show the last two digits of the year). How can I tweak it so?
import datetime
today = datetime.date.today()
'{0.month}/{0.day}/{0.year}'.format(today)