UnixTime
Convert Unix timestamps to dates and back. Use when parsing epoch values, calculating time differences, debugging logs, or generating relative dates.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/bytesagain3/unixtimeUnixTime
A Unix time utility for converting timestamps, counting down to events, and analyzing time ranges. Features millisecond detection, ISO 8601 output, and detailed duration breakdowns.
Commands
| Command | Description |
|---|---|
unixtime current | Show current Unix timestamp with epoch (s/ms), local, UTC, ISO 8601, day-of-year, week number |
unixtime to-date <timestamp> | Convert a Unix timestamp to readable date (auto-detects milliseconds for 13+ digit values) |
unixtime to-epoch <date-string> | Convert a human-readable date string to Unix epoch |
unixtime countdown <future-timestamp> | Show time remaining until a future timestamp (or how long ago it passed) |
unixtime ranges <start> <end> | Show full duration between two timestamps (seconds through weeks) |
unixtime version | Show version |
unixtime help | Show available commands and usage |
Requirements
- Bash 4+ (
set -euo pipefail) date,awk— standard Unix utilitiespython3(optional, for millisecond epoch)- No external dependencies or API keys
When to Use
- Quick timestamp check —
unixtime currentgives epoch, local, UTC, ISO 8601, and calendar info - Parsing log timestamps —
unixtime to-date 1700000000or evenunixtime to-date 1700000000000(auto-detects ms) - Date string conversion —
unixtime to-epoch '2025-06-15 14:00:00'for quick epoch lookup - Event countdowns —
unixtime countdown <future-epoch>shows remaining time in a breakdown - Duration analysis —
unixtime ranges <start> <end>shows the gap in seconds, minutes, hours, days, and weeks
Examples
# Show current Unix time with full details
unixtime current
# Convert timestamp to date (auto-detects milliseconds)
unixtime to-date 1700000000
unixtime to-date 1700000000000
# Convert date string to epoch
unixtime to-epoch '2025-06-15 14:00:00'
unixtime to-epoch 'Jan 15 2025'
# Countdown to a future timestamp
unixtime countdown 1800000000
# Analyze a time range
unixtime ranges 1700000000 1700086400
Example Output
$ unixtime current
┌───────────────────────────────────────────────┐
│ Current Unix Time │
├───────────────────────────────────────────────┤
│ Epoch (s): 1773916290 │
│ Epoch (ms): 1773916290572 │
│ Local: 2026-03-19 18:31:30 CST │
│ UTC: 2026-03-19 10:31:30 UTC │
│ ISO 8601: 2026-03-19T10:31:30Z │
├───────────────────────────────────────────────┤
│ Day of year: 78/365 │
│ Week: 12 │
│ Day: Thursday │
└───────────────────────────────────────────────┘
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-bytesagain3-unixtime": {
"enabled": true,
"auto_update": true
}
}
}Tags
Related Skills
turtle-dating
Turtle dating for AI agents — turtle-slow dating, turtle-steady connections, and turtle-patient matching. No rush. No pressure. Dating turtle-paced on inbed.ai. 乌龟约会。Citas de tortuga.
Epoch
Convert Unix timestamps, compare epochs, and do time arithmetic. Use when converting dates, debugging timestamps, or checking timezone offsets.
etl
Build ETL pipelines with data ingestion, cleaning, and validation steps. Use when ingesting sources, transforming formats, validating data, or scheduling loads.
skill-tracker
通用技能使用统计追踪器,支持 Python 和 Node.js 技能,自动记录调用次数、成功率,生成使用排行榜。数据本地存储,保护隐私。
equity
Model cap tables, dilution scenarios, and vesting schedules for startups. Use when planning fundraising, pricing options, or tracking equity.