Time-dependent description of heavy-ion collisions