Skip to content

Instantly share code, notes, and snippets.

@wilmoore
Last active September 20, 2022 22:48
Show Gist options
  • Save wilmoore/8f7b1ff9348a688b9a9ec1dd295445d6 to your computer and use it in GitHub Desktop.
Save wilmoore/8f7b1ff9348a688b9a9ec1dd295445d6 to your computer and use it in GitHub Desktop.
Income Sources :: Guide :: JavaScript Date Functions

Income Sources :: Guide :: JavaScript Date Functions

⪼ Made with 💜 by realpolyglot.dev

JavaScript Date Functions

  • Date.parse(in ?? '')
  • isNaN | NaN
  • new Date()
  • new Date().getTime()
  • new Date(new Date())
  • new Date(Date.now())
  • new Date(Date.now() + 604800000).getDate()
  • new Date(Date.now() + 86400000).getDate()
  • date-fns constants
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment