Formal wear partially coincident with evening wear
History
Clothing norms and fashions fluctuated regionally in the Middle Ages.
More widespread conventions emerged around royal courts in Europe in the more interconnected Early Modern era. The justacorps with cravat, breeches and tricorne hat was established as the first suit (in an anarchaic sense) by the 1660s-1790s. It was sometimes distinguished by day and evening wear.
By the Age of Revolution in the Late Modern era, it was replaced by the previously-casual country leisure wear-associated front cutaway dress coat around the 1790s-1810s. At the same time, breeches were gradually replaced by pantaloons, as were tricorne hats by bicorne hats and ultimately by the top hat by the 19th century and thenceforth.
By the 1820s, the dress coat was replaced as formal day wear by the dark, closed-front knee-length frock coat. However, the dress coat from the transition period was maintained as formal evening wear in the form of white tie, remaining so until this day.
By the 1840s, the first cutaway morning coats of contemporary style emerged, which would eventually replace the frock coat as formal day wear by the 1920s.
Likewise, starting from the 1860s, fashion evolved to gradually introduce the more sportive, shorter suit jacket, likewise originating in country leisure wear. This evolved into the semi-formal evening wear black tie from the 1880s and the informal wear suit accepted by polite society from the 1920s.Dress codes
The dress codes counted as formal wear are the formal dress codes of morning dress for daytime and white tie for evenings. Although some consider strollers for daytime and black tie for the evening as formal, they are traditionally considered semi-formal attires, sartorially speaking below in formality level.The clothes dictated by these dress codes for women are ball gowns. For many uniforms, the official clothing is unisex.  Examples of this are court dress, academic dress, and military full dress uniform.
partially overlapping with partially intersecting with partially sharing with partially matching with partially aligning with