In most cases, both of these transactions happen instantly, and up to several hours are needed for big deposit or withdrawal amounts.