The federal flag code says the universal custom is to display the U.S. flag from sunrise to sunset on buildings and stationary flagstaffs in the open, but when a patriotic effect is desired the flag may be displayed 24 – hours a day if properly illuminated during the hours of darkness. Also, the U.S. flag should not be displayed when the weather is inclement, except when an all-weather flag is displayed.