OCS is 13 weeks...
http://www.rpi.edu/dept/naval/www/career/aviationpipeline.htm
this link should give you an idea of how long the flight training is, but the delays shown probably don't reflect reality much. plus the delay to even start OCS as ghost pointed out.