630 hours
Reasonable load range: 378 hours to 945 hours
Calculation
8,400Wh × 90% usable efficiency ÷ (12W × 100% duty cycle) = 630.00 hours.
What can change the result
Actual device wattage, battery age, ambient temperature, inverter standby draw, conversion losses, power-factor behavior and cycling frequency can all reduce or extend runtime.
Check output before connecting
The battery or UPS needs at least 20W continuous capability and about 20W surge capability. Watt-hours alone do not prove compatibility.