To come somewhere on time means that you arrive at the time indicated.
He was on time for the performance that started at 7.30pm.
To come somewhere in time means you arrive before a deadline.
She arrived at the theatre in time for the overture.
- For Teachers