(do something) within (a length of time)
You can use the word "within" to talk about time:
The letter said that I needed to respond within 3 days.
"Within" a length of time means before the end of that period. So "within ten seconds" would mean before the end of the tenth second.
People use "within" to talk about deadlines or time limits.
Follow PhraseMix