2001 Toyota Cmary Conquest

Does a warranty of a second hand engine brought from a wreckers over the phone and got it delivered to the mechanics that whom was going to install the engine brought into the vehicle automatically has warranty of ninty days begin at time of ordering and agreeing and giving address of delivery to be sent begin the warranty at that point or when it was to be delivered and paid for or at the time the vehicle had the engine installed and fitted thats when the ninty days of warranty on the engine begins as I’m actually unsure of when its meant to begin so pls if u dont mind pls answer this question for me pls thanking u ?