Skip to content

Instantly share code, notes, and snippets.

@bobmagicii
Created July 11, 2023 19:03
Show Gist options
  • Save bobmagicii/da0878b5a763877d46e5c7c4d8b3424b to your computer and use it in GitHub Desktop.
Save bobmagicii/da0878b5a763877d46e5c7c4d8b3424b to your computer and use it in GitHub Desktop.
VS Code Date Snippet
{
"The Date": {
"prefix": "--date",
"body": "$CURRENT_YEAR-$CURRENT_MONTH-$CURRENT_DATE"
},
"The Date, Quoted": {
"prefix": "--dateq",
"body": "'$CURRENT_YEAR-$CURRENT_MONTH-$CURRENT_DATE'"
},
"The Date, Double-Quoted": {
"prefix": "--dateqq",
"body": "\"$CURRENT_YEAR-$CURRENT_MONTH-$CURRENT_DATE\""
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment