Original: He took office as President on March 4, 1881.
Simplified: President Garfield was in office from March to September of 1881.