'in time' and 'by (time)'
Is 'in time' similar to 'by (time period)'?
i'm supposed to finish my assignments in time (in this case, i know deadline, but implicit time)
i'm supposed to finish my assignments by Friday (but explicit time)
are both correct? and can be used?