How to pray tahajud prayers?

is there a special way of offering tahajud prayers? When does the time for tahajud prayer end?
Update: how many rakats am a i suppose to offer
9 answers