From memory mine was after 18 hours, slightly over average, however I was ready for my skill test after 40 hours and had to pad it out with another solo cross country flight.
Don't worry about doing it within a certain amount of time, it wont stop you becoming a superior pilot. It is as much to do with confidence as skill. Good luck