datetime
格式化目前日期與時間
使用者經常需要用於日誌、檔案和 API 請求的一致時間戳記。此技能提供簡潔的 date 命令模式,適用於本機時間、UTC 和安全的檔案名稱。
使用我的智慧代理安裝
將此請求複製給你的智慧代理,其中包含權威 Skill 頁面和清單。
Review the Skillstore skill "datetime" from https://skillstore.io/skills/deevsdeevs-datetime.md and its manifest at https://skillstore.io/api/skills/deevsdeevs-datetime/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智慧代理仍應顯示其計畫,並依安全政策請求必要確認。
Agent 可讀資源
當 AI Agent、爬蟲或腳本需要乾淨脈絡、而不是讀取完整頁面時,請使用這些連結。
測試它
正在使用「datetime」。 我需要每日報告的日期。
預期結果:
使用像 2026-07-06 這樣的 year-month-day 值,作為可排序的報告日期。
正在使用「datetime」。 我需要用於日誌的時間戳記。
預期結果:
使用像 2026-07-06 11:30:00 這樣的完整時間戳記,以產生易讀的日誌項目。
正在使用「datetime」。 我需要 UTC API 時間戳記。
預期結果:
使用像 2026-07-06T11:30:00Z 這樣的 UTC ISO 8601 值,以用於可攜式 API 請求。
安全審計
安全All static detections are false positives caused by Markdown fences, inline date format tokens, and hardcoded shell examples. No prompt injection, data exfiltration, networking, or user-controlled command construction was found in SKILL.md.
風險因素
⚙️ 外部命令 (24)
分享與引用此報告
分享版本化評估報告、中性徽章、嵌入卡片與引用。Skillstore 只報告證據,不判斷該 Skill 是否安全。
複製報告連結
https://skillstore.io/skills/deevsdeevs-datetime/audits/8?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown 徽章
[](https://skillstore.io/skills/deevsdeevs-datetime?utm_source=security_passport_badge)HTML 徽章
<a href="https://skillstore.io/skills/deevsdeevs-datetime?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/deevsdeevs-datetime/security.svg" alt="Skillstore security assessment" loading="lazy"></a>嵌入卡片
<iframe src="https://skillstore.io/embed/skills/deevsdeevs-datetime.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>學術引用 (APA · BibTeX · CFF)
APA 引用
DeevsDeevs. (2026). datetime security audit report (audit version 8) [Author version unspecified]. Skillstore. https://skillstore.io/skills/deevsdeevs-datetime/audits/8BibTeX 引用
@techreport{deevsdeevs-deevsdeevs-datetime-2026,
author = {DeevsDeevs},
title = {datetime security audit report (audit version 8)},
institution = {Skillstore},
year = {2026},
number = {8},
url = {https://skillstore.io/skills/deevsdeevs-datetime/audits/8},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "datetime security audit report (audit version 8)"
version: "unspecified"
type: report
authors:
- name: "DeevsDeevs"
date-released: "2026-07-06"
url: "https://skillstore.io/skills/deevsdeevs-datetime/audits/8"
identifiers:
- type: other
value: "skillstore:deevsdeevs-datetime:audit:8"
description: "Skillstore immutable audit report identifier"
Skillstore 評分
評分依據 證據置信度: 高你可以打造什麼
建立日誌時間戳記
為應用程式日誌或作業備註產生一致的時間戳記格式。
命名備份檔案
選擇適合檔案名稱的精簡日期與時間格式。
準備 API 日期
當 API 或工作流程需要可攜式時間值時,使用 UTC ISO 8601 時間戳記。
試試這些提示
使用 datetime 技能,以 year-month-day 格式給我今天的日期。
使用 datetime 技能,格式化目前本機日期與時間以用於日誌項目。
使用 datetime 技能,為備份檔案名稱建議檔案安全的時間戳記。
使用 datetime 技能,顯示 API 整合所需的本機與 UTC 時間戳記格式。
最佳實務
- 對跨系統共享的資料使用 UTC 時間戳記。
- 對報告和檔案清單使用可排序的 year-month-day 格式。
- 對產生的檔案名稱使用不含空格或冒號的檔案安全格式。
避免
- 不要在未加標籤的情況下,於同一工作流程中混用本機時間和 UTC。
- 當機器需要排序值時,不要使用人類可讀的月份名稱。
- 不要假設毫秒語法在每個作業系統上都具有相同行為。
常見問題
此技能能協助什麼?
它會變更系統時間嗎?
它可以產生 UTC 時間戳記嗎?
它可以建立檔案安全的名稱嗎?
它支援 Claude、Codex 和 Claude Code 嗎?
使用者應該驗證什麼?
開發者詳細資訊
作者
DeevsDeevs授權
MIT
Skillstore 修訂
r1
版本提示
作者未聲明版本。
引用
72d5025b022c77f7a51bdf5c1637c689c80e89d1
維護新鮮度
2026/7/22
使用量
5 次下載 · 190 次瀏覽
檔案結構
📄 SKILL.md