Hi,
It depends upon start and end date of course as mentioned in offer letter / LOA. Accordingly, you will get Visa for equivalent term.
I would suggest that, you should apply for 1 more year of PG Diploma before the completion of the course you have enrolled in, so that you can study...