Wooga: the magnetic field is NOT out of phase with the electric field in a plane wave.
As far as I can tell, this mistake derives from the common simple explanation of dipole radiation:

When the charges are separated, the E-field is maximum. $\pi/2$ later, the charges are moving through the dipole antenna and are at maximum current: max B-field.
This is true; however, if look at the dipole radiation formula you will see that this term is multiplied by $1/r^n$ with $n>2$: it does not radiate; it is near field.
The term that goes as $1/r^2$ (in power) is the radiation term, and it has E and B in phase.
This is because a changing $E$ does not generate a $B$, and a changing $B$ does not generate a $-E$; rather, distant charges and currents (on the past light cone), create an $E$ and a $B$ such that $dE/dt \propto dB/dz$ (where $z$ is the propagation direction).
In general, in a complex plane wave, $e^{i(kx-\omega t)}$, there is only a real part ($\cos({(kx-\omega t)})$) where we've chosen coordinates such that the phase offset is $0$.
But... in, say, coherent radar, you receive a return signal with a phase offset:
$$\cos({(kx-\omega t)+ \phi})$$, which can be split in a cosine and sine term, which again is a complex exponential.
The detection is done with a stable local oscillator in to a $\phi=0$ signal with a cosine (in phase) and a sine (quadrature) term. This is called I-Q detection.
It's still real though.