You do not purchase a “shift”. What did you actually buy?
If you bought a train ticket then it is good for the whole day. You are not limited to the trip you selected during purchase. So you can go when you want basically. But you should not buy such tickets in advance anyway.