Pinned Loading
-
.github
.github PublicForked from github/.github
Community health files for the @GitHub organization
-
-
-
-
This Gist contains a collection of u...
This Gist contains a collection of useful JavaScript utility functions that can be reused across different projects. It includes functions for array manipulation, string formatting, and date handling. Feel free to fork this Gist and contribute additional functions or improvements! 1// Function to format a date to YYYY-MM-DD
2function formatDate(date) {
3const d = new Date(date);
4let month = '' + (d.getMonth() + 1);
5let day = '' + d.getDate();
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.