방법
from datetime import datetime
str = "2023.10.08"
format = "%Y.%m.%d"
dt = datetime.strptime(str, format)
print(dt)
# => 2023-10-08 00:00:00
2023-10-08 00:00:00" />
from datetime import datetime
str = "2023.10.08"
format = "%Y.%m.%d"
dt = datetime.strptime(str, format)
print(dt)
# => 2023-10-08 00:00:00