From Colombo Fort Railway Station there are trains available from 5.55 am, 8.30 am, 9.45 am, and at 10.00 pm. The last train doesn't stop in Kandy. From Peradeniya Junction, the town closest to Kandy trains run from 8.32 am, 10.55 am, 12.31 am, 11.06 pm. From Kandy Station at 8.32 am, 10.55 am, 11.10 am, 5.00 pm and 3.30 am. For more precise information check the schedules on the Sri Lankan Railways website.