The longest flight (without refuelling) of a fully equipped soft aircraft lasted 95 hours and 30 minutes.
The longest flight on a balloon was 477 hours and 47 minutes.
However, the absolute record belongs to the Russian Post: The aircraft of their company was able to stay in the airspace between Taiwan and Russia from June 27 to July 23, while loaded under the bandage of shipments.