i missed a test on monday and i wanna know when is the last day i can take it?
Usually, within THE week means by Friday, but within A week means within the next 7 days. To be safe, make sure you don't push that to the edge, so if you missed the test on a Tuesday, take it by the following Monday. Tuesday might be O.K. by some counts, but not by others.
by friday of course!!