H1B Visa Port of entry stamping : How they decide departure date?

Hi,

My Visa Validity is from 21-Jan-2015 to 30-Sep-2016 (only two years not three years).

What will be port of entry departure date 30-sep-2016 or 30-sep-2017?. How officer decides departure date?

Thanks

Raju