move getZonedTime to process function