changing date format for consult