Skip to content

Instantly share code, notes, and snippets.

@heycalmdown
Last active April 30, 2019 00:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save heycalmdown/cbe26e4034c80d70c7458ed23edc3014 to your computer and use it in GitHub Desktop.
Save heycalmdown/cbe26e4034c80d70c7458ed23edc3014 to your computer and use it in GitHub Desktop.

<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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment