Calculate the time needed for a constant current of 0.8510

Calculate the time needed for a constant current of 0.8510 A to deposit 0.250 g of Co(II) as
(a) Elemental cobalt on the surface of a cathode.
(b) Co3O4 on an anode. Assume 100% current efficiency for both gases.