When getting this error, instead of
dff["New Time"] = dff["Old Time"].strftime("%d/%m/%Y %H:%M")
we should add “.dt” (it can be used to access the values of the series as datetimelike and return several properties.)
dff["New Time"] = dff["Old Time"].dt.strftime("%d/%m/%Y %H:%M")