Since dates are displayed in multiple places, it would be good to cache these GPs, make this class implement GlobalPropertyListener to be able to update the cache when the GPs are edited/deleted/created and then register it in the applicationContext-service.xml , see the bean with id openmrsEventListeners