hi frnd,
its very simple, you have to inform the landlord before two months( may be vary ) asper the tenancy contract. otherwise try to get a document from ur company which shows you are completed your job with ur company.

with regards