During a listening comprehension test, you hear the following conversation:

Max: Did you manage to submit the report on time?
Peter: I was up against the clock, but I got it in just under the wire.

Based on the conversation, what does "just under the wire" mean in this context?