Inherited stock

My father recently passed away and I was the beneficiary of his stock holding. Is it correct, that I will only be responsible for the capital gains tax on the earnings since the date of his death and not all he earned over the years?