Any member of such fire department who is in active service at the time ofthe passage ofthis apt and whose name is on the payroll, and future members, may as a matter of right, retire from active service, provided he shall have served 25 years in active service at the time of his retirement. The time of service shall be determined from the payroll records in the office of the city comptroller.