Determining MTB crank length

Here are the pics. The newer is a SRAM GXP crank. I suspect the older is the same.

Both are 2x10 104 BCD.

Thanks