0842デフォルトの名無しさん垢版 | 大砲2019/04/12(金) 23:35:59.94ID:gTuZAPil datetime.datetime.now()が返すのはdatetime.datetimeオブジェクトで、yearはその返されたdatetimeオブジェクトのプロパティです