Visual Studio Code#

QR code

creation date modification date comment short link


Insert Date String#

An easy way to insert current date and time thanks to extension created by Jakub Synowiec.

  1. Install Insert Date String extension.

  2. Insert date and time:

    • Shift⇧-cmd⌘ I (macOS)

    • Ctrl-Shift I (Windows/Linux)

  3. Go to extension settings if you want to change format of inserted date and time and change setting named Insert Date String: Format:

    • YYYY-MM-DD hh:mm:ss (default value) e.g. 2021-12-30 09:07:11

    • YYYY-MM-DDThh:mm:ssZZZZ (UTC Time offset value included) e.g. 2021-12-30T09:07:52+0100

  4. Read more in Usage instructions.