If used for time, it can also show how long the action lasted.
hat óráig: "for six hours" / "six hours long"
száz évig: "for a hundred years"
It is not always clear whether the thing in terminative case belongs to the interval in question or not.
A koncertig maradtam.: "I stayed until the concert (ended or started?)" Here it is more likely that the person only stayed there until the concert began.
Mondj egy számot 1-től 10-ig!: "Say a number from 1 to (until) 10." However here you can say 10 as well!
The corresponding question word is Meddig?, which is simply the question word Mi? ("what?") in terminitive case.