Depreciation on a building built in 1979

What depreciation would you use on a commercial building that was built in 1979, bought in 2006?  It is an older structure - do you still use 39 years?  Since it is an older building - makes sense that the useful life of the building should be less than 39 years or it does not matter?  Thank you for your help!