Display YouTube video upload dates as absolute dates (yyyy-mm-dd or other custom formats)

Show full upload dates, instead of "1 year ago", "2 weeks ago", etc. You can customize the date and time format.

Author
InMirrors
Daily installs
1
Total installs
902
Ratings
20 2 0
Version
0.7.2
Created
2024-04-20
Updated
2025-09-25
Size
60.9 KB
License
MIT
Applies to

Modified from Show YouTube Video Upload Date.

Usage

If your YouTube language is English, 中文, or 日本語 and you don't have specific needs, it will work after installation.

You MUST use translations in your YouTube language to fill in these keyword settings (marked with *). if your YouTube language is not English, 中文 or 日本語.

To use different date formats, open the settings panel via the script's menu. Click your script manager icon (e.g., Tampermonkey), locate the script, and click the settings button below it. In the panel, enter your desired format using these tokens:

  • yyyy: 4-digit year
  • yy: 2-digit year
  • MMM: Month names, which default to JAN, FEB, ... You can change the names in the settings panel.
  • MM: 2-digit month
  • dd: 2-digit day
  • ww: day of week, which default to Sun, Mon ... You can change the names in the settings panel.
  • HH: 24-hour format (00-23)
  • hh: 12-hour format (01-12)
  • ap: AM/PM
  • mm: 2-digit minutes
  • ss: 2-digit seconds

Known Issues

  • Do not support shorts

The original script supported adding dates to Shorts, but it stopped working after a YouTube update. Since I don't use this feature, I haven't fixed it. The relevant code is still in the script, so if you need this functionality, feel free to investigate and fix it yourself.

Change Log

  • 0.4: For videos uploaded in the last 24 hours, use a "relative time + absolute time" format. Thanks to abdxdev.
  • 0.5: Refactor for maintainability.
  • 0.5.1: Append an invisible marker character to the date text. It may cause errors if you need to copy the date.
  • 0.6: Refactor to use MutationObserver
  • 0.7: Add settings panel with support for several customizations.

My Scripts