change date format and mins to min