H1B stamping given for passport expiration date or Petition expiration date ?

My Indian passport expires in April 2017 and my H1B petition date expires in the year 2018.

If I go for stamping,will I be given stamping till the passport expiration date or H1B petition expiration date.

Basically I am thinking if I need to wait till April 2016 to apply for renewal of my passport and go for stamping or if I can go for stamping and then apply for my passport renewal

Regards,

Lokesh

They would issue it for the same term as your petition. When you get passport renewed, you will carry both passports when traveling to US.