change delivery_time to datetime format