You can buy a ticket on the railway station a day ahead, but an hour is ok too!
We bought ours in station. 9 euros I think.
Would the ticket get more expensive if I don't book in advance? Can we buy our tickets a few days ahead so that we can be assure of a place?Edited: 10:16 pm, October 16, 2017
May I know what is the name of the train station for ljubljana and zagreb? I can't seem to find it on the site.
The timetable is posted in the links the two previous posters provided you. There is only one central train station in both cities.
If you buy at least a day ahead you get a better price. (9 euro is the advance price.)
Thanks for the info!