If you plan to travel on a train running at 00:00 and/or 00:30, you can use tickets purchased for either the previous day or that same day.