At the age of 22, after attending a Partially Hospitalized Program (basically inpatient, but you can leave during school hours... 9am-5pm). I wasn't diagnosed properly before then, so that helped out a ton.
My reason for going was that I was calling out of a job that I loved, and making up stories because I felt that I couldn't just call out of work "depressed."