use `date.strftime` instead of `datetime.strftime`