hi
 
i am create a bus ticket booking website. but one difficulty arise about the bus status. the bus is display after mentioned departure time.



now how can i change status active to expire after departure time.

please help me to code making