Skip to content

Instantly share code, notes, and snippets.

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 jasp402/4bc509160ddcad1673170626c39838d4 to your computer and use it in GitHub Desktop.
Save jasp402/4bc509160ddcad1673170626c39838d4 to your computer and use it in GitHub Desktop.
rawFulYearMonth()
let month = ('0' + (new Date().getMonth() + 1)).slice(-2);
let year = new Date().getFullYear();
let lastMonth = (month - 1) + '/01/' + year;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment