In calculating such ten year period, any period of time during which the person was incarcerated for any reason between the time of commission of the previous felony and the time of commission of the present felony shall be excluded and such ten year period shall be extended by a period or periods equal to the time served under such incarceration. After receipt of a criminal history record from the division of criminal justice services, if any, and review of such record, the commissioner shall promptly notify the applicant whether he or she will be granted an H endorsement based upon the applicant's criminal history and promptly notify such applicant of the determination and the procedure for requesting a hearing pursuant to this subdivision. If the commissioner denies an applicant an H endorsement based either in whole or in part on such applicant's criminal record, the commissioner must notify such applicant of the basis for such denial, and afford such applicant notice and an opportunity to be heard and offer proof in opposition to such determination. If the applicant requests a hearing to contest the commissioner's determination, such hearing must be requested no later than thirty days after the applicant's receipt of the determination and must be scheduled by the commissioner within sixty days of such request. Upon request and pursuant to the rules and regulations of the division of criminal justice services, any applicant may obtain, review and seek correction of his or her criminal history record,
N.Y. Veh. and Traf. Law § 501