How long can your computer run Uninterruptible power supply?

As long as the UPS has power. UPS's have different run times.