"the day was about to end" or "it was near the end of the day." The end of the day was at sunset. Alternate translation: "it was almost sunset"