added strftime to inquiry