.ts-live{text-align:center;padding:16px;background:#eff6ff;border:1px solid #bfdbfe;border-radius:10px;margin-bottom:20px} .ts-live .ts-value{font-family:Consolas,monospace;font-size:1.5rem;font-weight:700;color:#1e40af} .ts-live .ts-label{font-size:.8125rem;color:#6b7280;margin-top:4px} .ts-result{margin-top:12px;padding:10px 12px;background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px} .ts-result .ts-val{font-family:Consolas,monospace;font-size:.875rem;word-break:break-all} .ts-section{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:20px;margin-bottom:16px} .ts-section h3{font-size:1rem;font-weight:600;margin-bottom:12px}

时间戳转换

Unix 时间戳与日期时间互转,支持秒级和毫秒级时间戳。

当前 Unix 时间戳
-

时间戳 → 日期

-

日期 → 时间戳