This sentence is given in the imperfect. The verb ser is used when telling the time. We use the conjugation of this verb era when referring to one o’clock and use eran when referring to all other hours in the past. Finally, the sentence eran las cinco de la tarde can be translated as it was five in the afternoon.