Agent skill
system-time
Get accurate system time in various formats and timezones. Use when the user needs to know the current time, date, timestamp, or wants to convert between timezones. Supports ISO 8601, Unix timestamp, human-readable formats, and timezone conversions.
Install this agent skill to your Project
npx add-skill https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/hengheng-system-time
SKILL.md
System Time
Get accurate system time information in multiple formats.
Quick Usage
Current Time (Local)
date # Human readable
date -Iseconds # ISO 8601 with seconds
date +%s # Unix timestamp
Current Time (UTC)
date -u # UTC human readable
date -u -Iseconds # UTC ISO 8601
date -u +%s # UTC Unix timestamp (same as local)
Specific Timezone
TZ=Asia/Shanghai date # Shanghai time
TZ=America/New_York date # New York time
TZ=Europe/London date # London time
Common Formats
| Format | Command | Example Output |
|---|---|---|
| ISO 8601 | date -Iseconds |
2024-03-11T16:30:00+08:00 |
| Unix timestamp | date +%s |
1710145800 |
| RFC 2822 | date -R |
Mon, 11 Mar 2024 16:30:00 +0800 |
| Custom | date "+%Y-%m-%d %H:%M:%S" |
2024-03-11 16:30:00 |
Timezone Conversion
Convert from one timezone to another:
# Convert specific time from Shanghai to New York
TZ=America/New_York date -d "2024-03-11 16:30:00 CST"
# List available timezones
ls /usr/share/zoneinfo/
Python Alternative (for scripting)
from datetime import datetime, timezone
# Current UTC time
utc_now = datetime.now(timezone.utc)
print(utc_now.isoformat())
# Current local time
local_now = datetime.now()
print(local_now.isoformat())
# Unix timestamp
print(int(utc_now.timestamp()))
Notes
- Unix timestamp is always UTC (timezone-independent)
- ISO 8601 format includes timezone offset
- Use
timedatectlon Linux systems for system clock info
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
audit-website
Audit websites for SEO, performance, security, technical, content, and 15 other issue cateories with 230+ rules using the squirrelscan CLI. Returns LLM-optimized reports with health scores, broken links, meta tag analysis, and actionable recommendations. Use to discover and asses website or webapp issues and health.
firecrawl
Web search and scraping via Firecrawl API. Use when you need to search the web, scrape websites (including JS-heavy pages), crawl entire sites, or extract structured data from web pages. Requires FIRECRAWL_API_KEY environment variable.
computer-use
Full desktop computer use for headless Linux servers. Xvfb + XFCE virtual desktop with xdotool automation. 17 actions (click, type, scroll, screenshot, drag, etc). Unlike OpenClaw's browser tool, operates at the X11 level so websites cannot detect automation. Includes VNC for live viewing.
social-media-analyzer
Social media campaign analysis and performance tracking. Calculates engagement rates, ROI, and benchmarks across platforms. Use for analyzing social media performance, calculating engagement rate, measuring campaign ROI, comparing platform metrics, or benchmarking against industry standards.
business-growth-skills
4 production-ready business and growth skills: customer success manager with health scoring and churn prediction, sales engineer with RFP analysis, revenue operations with pipeline and GTM metrics, and contract & proposal writer. Python tools included (all stdlib-only). Works with Claude Code, Codex CLI, and OpenClaw.
contract-and-proposal-writer
Contract & Proposal Writer
Didn't find tool you were looking for?