From an exam question:
It is easy to understand the calendar we use today. It was not always so easy. People had to try for thousands of years before they knew how to put together days, weeks, months, and years.
In this paragraph, what is the object of the verb "try"? Does it means "try to know how to put together days, weeks,months and years"? If so, what does "before" mean?