Online high school diploma?

I had to drop out of high school my freshman year because of anxiety and depression. My question is how long does it take to get a diploma online? I know a GED takes a few months but I really want my diploma. Help!