Hartman was born at Cottage, Pennsylvania. He attended public and private schools and the Hollidaysburg Seminary in Hollidaysburg, Pennsylvania.
Hartman's upbringing took place in Cottage, Pennsylvania. His educational journey included attending public and private schools and the Hollidaysburg Seminary in Hollidaysburg, Pennsylvania.