Dear student,
No matter when the results are out the batch determine the year of passing if you are enrolled in the batch 2013-2017 you will have to put the passing year as 2017 which is clearly written on the top of the certificate.
And as you stated that the result are printed and out in 2018 and the date is mentioned at the bottom it is already understood that you have the batch of 2013-2017 and the results of the final year came out in January 2018, so there is no need to stress.
Regular exam updates, QnA, Predictors, College Applications & E-books now on your Mobile