回答編集履歴
1
コード修正
test
CHANGED
@@ -6,10 +6,10 @@
|
|
6
6
|
|
7
7
|
|
8
8
|
|
9
|
-
date = '2020-11-22
|
9
|
+
date = '2020-11-22T13:24:07.13'
|
10
10
|
|
11
|
-
dt = datetime.strptime( date, '%Y-%m-%d
|
11
|
+
dt = datetime.strptime( date, '%Y-%m-%dT%H:%M:%S.%f')
|
12
12
|
|
13
|
-
print(dt) # 2020-11-22 12
|
13
|
+
print(dt) # 2020-11-22 13:24:07.130000
|
14
14
|
|
15
15
|
```
|