showing preview of entered date