Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
openakita avatar

Datetime Tool

  • 29 installs
  • 1.9k repo stars
  • Updated August 5, 2026
  • openakita/openakita

Helps with ai & agent building tasks.

About

datetime-tool is a Claude Code skill for ai & agent building. It helps solo builders move faster with AI-assisted coding.

  • datetime-tool
  • AI & Agent Building
  • AI-coding skill

Datetime Tool by the numbers

  • 29 all-time installs (skills.sh)
  • Ranked #9,417 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/openakita/openakita --skill datetime-tool

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs29
repo stars1.9k
Last updatedAugust 5, 2026
Repositoryopenakita/openakita

What it does

Helps with ai & agent building tasks.

Files

SKILL.mdMarkdownGitHub ↗

DateTime Tool

处理时间和日期相关的操作。

When to Use

  • 用户询问当前时间或日期
  • 需要格式化日期输出
  • 计算两个日期之间的差值
  • 时区转换
  • 获取星期几、月份名称等

Instructions

获取当前时间

运行脚本获取当前时间:

python scripts/get_time.py

支持的参数:

  • --timezone <tz>: 指定时区 (如 Asia/Shanghai, UTC)
  • --format <fmt>: 日期格式 (如 %Y-%m-%d %H:%M:%S)

计算日期差值

python scripts/get_time.py --diff "2024-01-01" "2024-12-31"

时区转换

python scripts/get_time.py --convert "2024-01-01 12:00:00" --from-tz UTC --to-tz Asia/Shanghai

Output Format

脚本输出 JSON 格式:

{
  "datetime": "2024-01-15 10:30:00",
  "date": "2024-01-15",
  "time": "10:30:00",
  "timezone": "Asia/Shanghai",
  "weekday": "Monday",
  "timestamp": 1705285800
}

Common Formats

格式示例
ISO2024-01-15T10:30:00+08:00
中文2024年01月15日 10:30:00
美式01/15/2024
欧式15/01/2024

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.