How to say i was in the train for twelve hours. in Arabic

1)كنت في القطار لمدة 12 ساعة.    
Translation by eldadConnect Error: Too many connections