Dear Mr. Reddy, I forgot to ask you about the location of Cognizant where you worked while in India. In Tamil Nadu, software companies are covered by the provisions of The Tamil Nadu Shops and Establishments Act. Therefore, the Payment of Gratuity Act is applicable to them according to the provisions of Section 1(3)(b) of the Payment of Gratuity Act. Persons engaged in software development would come within the definition of "employee" as defined under Section 2(e) of the Payment of Gratuity Act. Therefore, employees of software companies are governed by the provisions of the Payment of Gratuity Act unless the terms of gratuity offered by the software company are better than those of the Payment of Gratuity Act, in which case the better terms will prevail.
In your case, assuming that you had worked in Tamil Nadu, you are entitled to claim gratuity from your employer if you had worked with them for five continuous years. Also, considering Cognizant as your employer even while on-site, the services rendered on-site should be considered when calculating your length of service with Cognizant. If the length of service at the time you leave the company is not a complete five years, for example, 4 years and a few months, then to determine if the remaining months after four years count as a year of service, the number of days worked in those months must be at least 240 days.
If you have worked in a different state in India, please write back, and I will try to clarify.
Regards, V. Harikrishnan Joint Commissioner of Labour (Retired) Government of Tamil Nadu Labour Law Consultant Chennai