Time won't be off unless you took the timing set off and put it back together off a tooth or two.

Having a reading at the cam and crank both should compensate for any stretch.. which isn't much at high miles.

Might be a crank sensor..
P0340 - GM Forum - Buick, Cadillac, Olds, GMC & Pontiac chat