Source: As worded by Indian Railways, Government of India
You can reserve your ticket 120 days in advance, excluding the date of journey at the train originating station. At intermediate stations where the train arrives the following day, reservation can be done 121 days in advance. In the case of some intercity day express trains, the advance reservation period is less.