Packet switching method with time-based routing