Before the Gregorian calendar, most countries relied on the Julian calendar introduced by Julius Caesar in 45 BC. It was used until 1500s