output date to result file