Insert today's date and the current time - in VS Code

Install the extension Insert Date String by Jakub Synowiec

Key combo:

[Ctrl]+[Shift]+[I]

ISO 8601 Format, example:

2021-08-19 23:59:49

Default settings can be altered:

// Date format to be used.
"insertDateString.format": "YYYY-MM-DD hh:mm:ss",
"insertDateString.formatDate": "YYYY-MM-DD",
"insertDateString.formatTime": "hh:mm:ss",