[task] using QueryHelper class to format DateTime