Created
October 6, 2023 07:01
-
-
Save joshuaavalon/651b8eedc5d51b8b4ce55426b24b8fbb to your computer and use it in GitHub Desktop.
VSCode user snippets
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"uuid": { | |
"prefix": "uuid", | |
"body": "${UUID}", | |
"description": "Generate UUID" | |
}, | |
"now-date": { | |
"prefix": "now-date", | |
"body": "$CURRENT_YEAR-$CURRENT_MONTH-$CURRENT_DATE", | |
"description": "Generate current date YYYY-MM-DD" | |
}, | |
"now-time": { | |
"prefix": "now-time", | |
"body": "$CURRENT_HOUR:$CURRENT_MINUTE:$CURRENT_SECOND", | |
"description": "Generate current time hh:mm:ss" | |
}, | |
"now-iso8601": { | |
"prefix": "now-iso8601", | |
"body": "${CURRENT_YEAR}-${CURRENT_MONTH}-${CURRENT_DATE}T${CURRENT_HOUR}:${CURRENT_MINUTE}:${CURRENT_SECOND}${CURRENT_TIMEZONE_OFFSET}", | |
"description": "Generate current date time ISO8601" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment