depends on your bank's policy and where the check is drawn off of. if the check is drawn off a u.s. bank...you should get credit in a day or two. if its drawn off a bank in canada or somewhere like the caribbean...you could be looking at 7-10 days...maybe more.
If you have cash to cover it already in your bank, there is no time to wait...Just ask for cash and then deposit it the next day, or later in the drive thru or ATM machine...