Mr. XYZ was on a visit visa in Dubai when a company gave him an appointment letter in March 2011. He started working in March 2011 while still on the visit visa and received payment on the salary date. Due to visa issues faced by the company, Mr. XYZ could not obtain a residence visa before the expiry of his visit visa. Consequently, the company instructed Mr. XYZ to return to his home country, assuring him that they would arrange a residence visa for him. As promised, the company sent him a residence visa in July 2011. The question now arises: should the joining date be considered as March 2011 or July 2011?