今日の日付を取得するためにdatetimeを使用したところ、AttributeErrorが出てしまいました。
ご教示お願いいたします。
python
1import datetime 2 3date1 = datetime.date.today() 4print(date1) 5
date1 = datetime.date.today() AttributeError: module 'datetime' has no attribute 'date'
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2018/07/17 05:24