Time dilation is a difference in the elapsed time measured …
Time dilation is a difference in the elapsed time measured by two clocks, either due to them having a velocity relative to each other, or by there being a gravitational potential difference between their locations