If i understood your query correctly, the reply is, The ticket will be booked as per the departure time of the train. You can see in the second picture that the booking is for 30/11/12,where the train arrives at cbe at 11.45 pm on 29/11/12.So If you want to reach TVC on 30/10/12 ,you must select the date as 30/11/12 only.
But from 2/12/12, the scenario will change. If you want to reach TVC by 3/12/12, you have to select the date as 2/12/12 from cbe,since the departure is at 11.50 PM.See the third pic