The expression is believed to have originated in the north Atlantic where the sun would rise above the upper mast spars (yards) of square sailed ships around 11am. This coincided with the forenoon ‘stand easy’ when officers would go below and enjoy their first rum tot of the day. Eventually the phrase was adopted universally as meaning it is a suitable time to have an alcoholic beverage.