Date picker (VSCode)

Insert today’s date when typing // in CHANGELOG.md - ChatGPT

By Adding Snippet

VS Code snippets cannot directly invoke commands. Alternative is to either

  • generate text for a command and wait user validation
  • use keybinding instead (which can run a command)

Ctrl+Shift+P → Preferences: Configure Snippets Choose markdown

{
  "Insert current date": {
    "prefix": "//",
    "body": ["${CURRENT_YEAR}-${CURRENT_MONTH}-${CURRENT_DATE}"],
    "description": "Insert current date"
  }
}

Then typing // then Tab in CHANGELOG.md inserts: current date.

Written on February 8, 2026, Last update on
vscode calendar vscode-snippet