Lookback times for astronomical objects