Which of the following is correct ?

Answer: 
I was stuck in traffic for two hours
Which of the following is correct ?