Most e-bike standard chargers charge at a rate of 2 amps. So, if you had a 10 amp hour battery that was flat, it would take 5 hours to charge.
Normal practice is to ride your bike during the day, and charge over night. This gives the battery time to charge and continue to trickle charge to “balance” the battery, ensuring all cells are completely full.