Insert Date & Time installs statistics
By Jakub Synowiec · VS Code Marketplace · Snippets
Insert dates, times, ISO 8601 strings, Unix timestamps, and custom Day.js-formatted timestamps in VS Code — with shortcuts, timezone support, and configurable formats.
Insert Date & Time has 148,911 recorded installs on VS Code Marketplace.
It ranks #1867 of 2,501 tracked VS Code Marketplace listings by installs.
It is rated 5.0 out of 5 from 20 ratings.
PluginStats has 4 daily observations since Oct 16, 2026; the latest is from Oct 19, 2026.
Rating: 5.00 / 5 from 20 ratings
About Insert Date & Time
Insert Date & Time extension for VS Code
[![Sponsor][sponsor-badge]][sponsor] [![Version][version-badge]][marketplace] [![Ratings][ratings-badge]][marketplace-ratings] [![Installs][installs-badge]][marketplace] [![License][license-badge]][license]
Insert the current date, time, ISO 8601 string, Unix/epoch timestamp, or any custom Day.js-formatted timestamp directly into the editor.
Perfect for Markdown notes, changelogs, front matter, logs, comments, templates, and distributed-team workflows that need consistent UTC or timezone-aware timestamps.
Why use it?
• Insert date/time with a keyboard shortcut • Supports date, time, datetime, ISO 8601, Unix timestamp, and custom formats • Configure a custom format template • Allows inserting date/time in a different IANA timezone such as UTC, Europe/Warsaw, or America/New_York • Allows inserting localized month and weekday names • Insert at the cursor or replace the current selection • Prompt for one-off custom formats when needed
Quick examples
| Command | Example output |
| Insert DateTime | 2026-06-30 14:05:09 | | Insert Date | 2026-06-30 | | Insert Time | 14:05:09 | | Insert Timestamp | 1782821109000 | | Insert Formatted DateTime with iso | 2026-06-30T12:05:09Z | | Custom format YYYY-MM-DDTHH:mm:ssZ | 2026-06-30T14:05:09+02:00 |
Installation
Install from the [Visual Studio Marketplace][marketplace], or open the Command Palette and run:
Usage
Open the Command Palette and run one of these commands:
| Command | Shortcut | Description |
| Insert DateTime | ⇧+⌘+I (OS X) Ctrl+Shift+I (Windows/Linux) | Inserts current date and/or time according to configured format (format) at the cursor position. | | Insert Date | — | Inserts current date according to configured format (formatDate) at the cursor position. | | Insert Time | — | Inserts current time according to configured format (formatTime) at the cursor position. | | Insert Timestamp | — | Inserts current timestamp in milliseconds at the cursor position. | | Insert Formatted DateTime | ⇧+⌘+⌥+I (OS X) Ctrl+Alt+Shift+I (Windows/Linux) | Prompt user for format and insert formatted date and/or time at the cursor position. The last custom format entered is remembered per workspace using VS Code's workspace context which is separate from the insertDateString.format setting and is not visible in your workspace settings file. | | Reset Workspace DateTime Format Override | — | Clears the workspace-stored format override, restoring the insertDateString.format setting as the default for Insert Formatted DateTime. |
Configuration
• Date and time format string (_this affects Insert DateTime output_): • Date format string (_this affects Insert Date output_): • Time format string (_this affects Insert Time output_): • Timezone (_applies to all format-based commands; leave empty for local system time_): • Locale (_applies to month and weekday-name tokens; leave empty for English_):
Configure the default output in your user or workspace settings:
Timezone
Set insertDateString.timezone to an IANA timezone name to produce timestamps in a consistent timezone regardless of the local system clock. This is useful for distributed teams that need to agree on a shared reference timezone.
Supported values: Any IANA timezone name (e.g. UTC, America/New_York, Europe/Warsaw, Asia/Tokyo). Leave empty to use local system time.
Affected commands: Insert DateTime, Insert Date, Insert Time, Insert Formatted DateTime.
Unaffected commands: Insert Timestamp always produces a Unix timestamp in milliseconds (UTC by definition). The iso format token always outputs UTC regardless of this setting.
If the configured value is not a valid IANA timezone, a warning is shown and local system time is used as a fallback.
Locale
Set insertDateString.locale to a ISO 639-1 locale tag to render month and weekday names in that locale.
Supported values: ISO 639-1 (two-letter codes) locale keys supported by Day.js. Leave empty to use English.
Affected tokens: MMM, MMMM, dd, ddd, and dddd use the configured locale verbatim.
Affected commands: Insert DateTime, Insert Date, Insert Time, Insert Formatted DateTime.
Unaffected commands: Insert Timestamp always produces a Unix timestamp in milliseconds. The iso special format always outputs UTC and does not use locale formatting.
If the configured value is not supported, a warning is shown and English is used as a fallback.
Format syntax
Format strings use dayjs token conventions.
Year
• YY - Two-digit year. Examples: 99 or 03 • YYYY - Four-digit year. Examples: 1999 or 2003
Month
• M - Month, without leading zeros. 1 through 12 • MM - Month, with leading zeros. 01 through 12 • MMM - Abbreviated month name. Jan through Dec • MMMM - Full month name. January through December
Day
• D - Day of the month, without leading zeros. 1 to 31 • DD - Day of the month, with leading zeros. 01 to 31 • d - Day of the week. 0 (Sunday) through 6 (Saturday) • dd - Minimal day name. Su through Sa • ddd - Abbreviated day name. Sun through Sat • dddd - Full day name. Sunday through Saturday
Month and weekday-name tokens use insertDateString.locale when configured.
Hour
• H - 24-hour format, without leading zeros. 0 through 23 • HH - 24-hour format, with leading zeros. 00 through 23 • h - 12-hour format, without leading zeros. 1 through 12 • hh - 12-hour format, with leading zeros. 01 through 12
Minute, second, millisecond
• m - Minutes, without leading zeros. 0 through 59 • mm - Minutes, with leading zeros. 00 to 59 • s - Seconds, without leading zeros. 0 through 59 • ss - Seconds, with leading zeros. 00 to 59 • SSS - Milliseconds, with leading zeros. 000 to 999
AM/PM and timezone
• A - AM or PM • a - am or pm • Z - UTC offset. Examples: +05:30, -07:00 • ZZ - UTC offset without colon. Examples: +0530, -0700
Unix timestamps
• X - Unix timestamp in seconds • x - Unix timestamp in milliseconds
ISO week tokens…
Description from the VS Code Marketplace listing.
- changelog
- current date
- current time
- custom date format
- date
- date formatter
- date formatting
- date string
- datetime
- dayjs
- epoch
- epoch timestamp
- front matter
- iana timezone
- insert date
- insert time
- insert timestamp
- iso 8601
- iso8601
- javascript
Where Insert Date & Time sits in the listing
Each band is one page of 20. Installs on a log scale. Placement is projected from installs, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Recent observations
Full history (4)Similar VS Code Marketplace Snippets plugins
Data source
Install counts, average rating, and rating counts come from the public Visual Studio Marketplace gallery API. Installs are cumulative and exclude updates.
Listing: https://marketplace.visualstudio.com/items?itemName=jsynowiec.vscode-insertdatestring. First seen Oct 16, 2026; last successful collection Oct 19, 2026. See the methodology.