The dealer has the warranty information for your car which will include when the engine was replaced.
My dealer doesn't mind looking this stuff up but I've heard of others who refuse or deny the information is available so you may have to try several.