Don't number close quickly.
A nice thing to do is for example mention the day2 during the talk BUT don't invite them right away, for example "I'll go to have coffee at this place, it's supposed to be one of the best coffee in town".
Then, afeter some time you say something like "I have to go to meet my friend, but you're cool, give me your number and I might call you for that coffee I mentioned earlier".
This work very nicely if the day2 is a house party you're (eventually) having in your house
Then keep talikng to her for few minutes after the number close (this shows you're not there just to get her number)