If you're using the latest software or an updated Potentisostat model (I am using Gamry), the software typically provides an option to calculate the total charge directly. You can find this option in the analysis tools where it will automatically integrate the current over time and give you the charge Q.
If the current i(t) is constant (which is often the case in chronopotentiometry), the calculation becomes simpler:
Q=i×t
Q=10mA×8h×3600s/h=288000 mC=288 C. This value of Q can then be used in the Faradaic efficiency calculation.
If the current varies over time during (chronoamperometry), you can calculate the charge using Origin software.
Simply click on the y-axis value (which represents the current), then go to the 'Analysis' menu, select 'Mathematics,' and choose the 'Integrate' option. This will create a new column that represents the charge.