The rate of charging and discharging is determined by the time constant (τ = RC). The equations are different: $q = Q(1-e^{-t/τ})$ for charging and $q = Qe^{-t/τ}$ for discharging. The time taken depends on the time constant and the circuit specifics.