Indoc is 2 weeks long.
When you start aircraft training the footprint is pretty much the same among all fleets, but this is based off the 737 (which I just went through transition training on).
9 days of ground school. 4 on. 2 off. Followed by 5 on 2 off.
10 days of sim. 5 on. 2 off.
Before aircraft training on most fleets, there's a home study course on the iPad before you show up. It's about 21 hours of home study (give or take).
I can't speak for the other fleets these days, but I can't speak highly enough of the 737 program. The instructors are excellent and are more than willing work with you. Their goal is to make sure you succeed.
As stated above, the biggest thing is attitude. Have a good attitude and try your best and they'll bend over backwards for you.