The following is just to fetch the time and display it, and using a JS interval timer to invoke a function to set the state, so as to cause the first useEffect() ru
useEffect()