Assume that the random variables $X$ and $Y$ are defined on the probability space $(\Omega,\mathcal F,\mu)$. Let $\Delta:=\{(x,y)\in\Bbb R^2,x\lt y\}$. We have by independence $$ E\left[e^{it\max(X,Y)}\right]=\int_{\Bbb R^2}e^{it\max(x,y)}\mathrm d\mu_X\otimes\mu_Y(x,y). $$ Splitting over $\Delta$ and its complement, and denoting $F$ the common cumulative distribution function of $X$ and $Y$, we thus get $$E\left[e^{it\max(X,Y)}\right]=2E\left[F(X)e^{itX}\right]+\int_{\Bbb R}\mu(X=x)e^{itx}\mathrm d\mu(x).$$ Some remarks: 1. This gives an explicit formula in terms of the common distribution function. 2. If $\mu(X=x)=0$ for all $x$ (for example when $X$ has a density), then the formula is simpler. 3. This can be extended to $\max(X_1,\dots,X_d)$. 4. We get an analogous formula for $\min$ instead of $\max$.