Hace can mean a lot of different things! In the sentences below, it means ago.
Notice how the amount of time comes after the word hace.