Yes. Multiple the wattage times the amount of hours it runs to get the Energy in Watt-hour units. Power is the rate of Energy being applied. Power = Energy/time. So Energy = Power x time.
For single phase power, which is usually just 2 wires and a ground, 120V or 240V, the Power is volts x amps. The unit is Watts.
Energy, in the U.S., is measured and sold in Watt-hours, (or kilowatt-hours). A Watt-hr amount of energy is a 1 Watt load running for 1 hour. (Or .5 Watts running for 2 hours, or 2 Watts running for .5 hours, etc…)
So your heater at 30A/220V draws 6600Watts.
6600W for 2.5 hours uses 16,500 watt-hour (16.5 kilowatt-hrs).
For example: You can see that if you used a 3000Watt heater, it would take 5.5 hours to heat the same amount (i.e. transfer the same amount of energy(16.5 kW-hrs).