Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>时间戳转换New to Visual Studio Code? Get it now.
时间戳转换

时间戳转换

ricoli

|
1 install
| (0) | Free
A VSCode extension that provides timestamp and datetime conversion in the sidebar
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Timestamp Sidebar

一个 VS Code 侧边栏时间转换插件,用于在时间戳与日期时间之间进行双向转换。

功能特性

  • 支持 10 位(秒)和 13 位(毫秒)时间戳互转
  • 支持时间戳与日期时间实时双向转换(输入后自动转换,带防抖)
  • 支持 6 种内置日期时间格式,并可新增/删除自定义格式
  • 支持常用时区切换(UTC、中国、美国东西部、英国、日本)
  • 支持日期时间输入框的可视化时间选择器(含年月切换与年份面板)
  • 支持一键填入当前时间
  • 支持复制时间戳或日期时间到剪贴板
  • 支持用户配置持久化(时间戳位数、日期格式、时区、自定义格式)

使用方式

  1. 在 VS Code 活动栏打开“时间戳转换”侧边栏。
  2. 选择时间戳位数(10 位或 13 位)、日期时间格式和时区。
  3. 在“时间戳”或“日期时间”任一输入框输入内容,另一侧会自动转换。
  4. 使用“当前”按钮可快速填入当前时间。
  5. 使用“复制”按钮可复制对应结果。

说明

本项目完全由 Coding Agent 完成。

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft