4-6 months: Really depends on how it was broke, how it was fixed, etc but realistically speaking the bone can take 3-4 months to heal based on location and your muscles will take additional time to recover if you were non weight bearing for a period of time.
Hip Fractures
Drew Brady Chief Orthopedic Trauma Surgeon explains how hip fractures are diagnosed and treated.