Correlation in time-dependent density-functional theory