<script> const now = new Date(); const e = new Date(2009, 6, 1); const ediff = now - e; const d = document.getElementById("day"); d.innerText = [ "Working at EA ", Math.round(ediff / 1000 / 60 / 60 / 24) + " days" ].join(' '); </script>