HRA Exemption in Employee tax declaration

Is there a way to calculate Annual HRA exemption based on the Date of Joining of employee rather than the entire year? @rucha_mahabal

would appreciate the help