Hartman was born at Cottage, Pennsylvania. He attended public and private schools and the Hollidaysburg Seminary in Hollidaysburg, Pennsylvania.
Hartman's birthplace was Cottage, Pennsylvania. He received his education at both public and private institutions as well as the Hollidaysburg Seminary in Hollidaysburg, Pennsylvania.