Sense of time passing
When do children start to get a sense of the passage of time?
My (completely neurotypical) child can tell the time to five minutes on a digital and analogue clock, sometimes wears a watch, we have several analogue and one digital clocks around our house, we sometimes use visual timers... and yet they are ASTONISHED, truly ASTONISHED, that if they are assigned a notionally fifteen minute task to do before they get to do XYZ and spend two hours messing around or staring at the wall, bedtime will arrive and they've not done the task so the time available to do XYZ has evaporated and will never come back.
They have ZERO sense that hours rather than seconds are trickling by. If I stand over them and remind them that time is passing every five seconds, they can get the task done in fifteen minutes, but obviously that is intensely annoying for both of us.
I'm not asking how I can get them to focus or how to teach them to tell the time. I'm asking at what age or developmental stage children acquire the general ability to sense whether a vast or tiny amount of time has passed. Like, the difference between "How long has it been since you had lunch?" and they guess five minutes or five hours.
ETA: this is an older primary school age child, not a toddler.