how to load localstorage json code example Example: set localstorage value localStorage.setItem("mytime", Date.now());