I have the following two imports:
from datetime import datetime, timedelta import datetime as dt
If I try
date = dt.datetime.strpt