The number of days the national flag should be flown at half-mast as a sign of mourning on all buildings and places where it is displayed, upon the official announcement of the death of a president or former president, varies by country:
- United States: The flag is to be flown at half-staff for 30 days from the day of death of a president or former president on all federal buildings, grounds, naval vessels, and U.S. embassies worldwide
- Philippines: The flag is flown at half-mast for 10 days starting from the official announcement of the death of the president or former president on all buildings and places where the flag is displayed
- India: The flag is flown at half-mast throughout India for the death of a president, vice-president, or prime minister, with specific protocols for other officials. If the death notice is received in the afternoon, the flag is also flown the following day until the funeral
Thus, for the U.S., the period is 30 days; for the Philippines, it is 10 days; and for India, it is generally on the day of death and the funeral day, with some variations depending on the official's position.