2017-10-11 pythonでYYYY-MM-DD形式で日付を扱う python import datetime today = datetime.date.today() today.isoformat()