moves strftime to helpers.