preposition
1. — used as a function word to indicate direction and movement to and somewhat past a point or to the outer limits of and some distance into a space
jumped to within 1/2 inch of the record
drove to within 50 yards of the green
2. — used as a function word to indicate duration up to and somewhat past a point in time
worked hard to within five minutes of closing time