Dating advice ?

I am 23 years old and have been out of the dating game for a while. What is your guys advice on how long should you guys be talking and hanging out for before making it official ? So far I spent a month with a guy and he wasn’t ready to make it official and I ended things because I didn’t want to waste my time. That’s long over, I’m just really confused on how long should I spend on a guy before knowing he’s just playing around ?