Temporally resolved electro-optic effect