To dynamically display time