The SBB planner by default will show a couple of services around the time you entered during your query. However that does not mean that there are later trains.
Just keep on clicking on “later connections”. Eventually you will see the last one of the day.
Public transit in most cases runs till about midnight. In this case the last service is at 23:30, but it is a bus, not a train.