2012-10-21 日付の判定 python pythonの日付判定方法 >>> obj=datetime.datetime(2012,10,21) >>> obj.weekday() 6 これで0~6の数値が返される。 0が月曜日、6が日曜日