When is too confident a bad thing?

Can guys be too confident when flirting or asking girls out? The last girl I tried to get I was as confident as I possibly could I flirted with her, got her number, and asked her out in person in an effort to come off as really confident and I did all that in one week so is that too fast do u guys think? And also what's an appropriate time in between from meeting her to asking out?