It took me a bit over a year, although I had a lot of other traumatic damage. I didn't actually walk unassisted for the first several months.
I would highly suggest that you take the time to get used to your device and the issues inherent with being an amputee. There are care and maintenance items pertaining to your leg and skin that you cannot possibly anticipate until you experience it.