When a limitation or period of time prescribed in any existing ordinance or statute for acquiring a right or barring a remedy, or for any other purpose has begun to run before this Code goes into effect, the time which has already run shall be deemed a part of the time prescribed as such limitation.