allbeingsfuture/skills@datetime-tool

Provides timezone-aware datetime formatting, conversion, and difference calculations via JSON.

9|2|Updated Mar 18, 2026
One-click install
npx skills add https://github.com/AllBeingsFuture/AllBeingsFuture --skill allbeingsfuture-skills-datetime-tool
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: allbeingsfuture/skills@datetime-tool
Source: https://github.com/AllBeingsFuture/AllBeingsFuture/tree/main/electron/embedded-assets/skills/datetime-tool
Command: npx skills add https://github.com/AllBeingsFuture/AllBeingsFuture --skill allbeingsfuture-skills-datetime-tool

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

The DateTime Tool eliminates manual timezone conversions, date formatting, and interval calculations by providing a consistent, locale-aware interface that returns structured results.

Core Features & Use Cases

  • Current time retrieval: Get the current datetime, date, time, weekday, timestamp and ISO string for any supported timezone.
  • Formatting and localization: Format datetimes using strftime-style tokens and common regional formats (ISO, Chinese, US, EU).
  • Date arithmetic and conversion: Calculate differences between two dates and convert a datetime from one timezone to another.
  • Use Case: Convert a meeting time from UTC to Asia/Shanghai, show the weekday, and produce a machine-readable JSON payload for scheduling systems.

Quick Start

Ask for the current time in Asia/Shanghai formatted as %Y-%m-%d %H:%M:%S and return the result as structured JSON.

Frequently Asked Questions about allbeingsfuture/skills@datetime-tool

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert a UTC datetime to Asia/Shanghai and include an ISO8601 string?

You can convert a UTC datetime to Asia/Shanghai by passing the timezone identifier to the tool, which outputs structured JSON containing the converted ISO8601 string and timestamp. It validates timezones and returns localized results instantly.

What's the best way to calculate the difference between two dates across timezones?

The best way to calculate the difference between two dates across timezones is to provide both date inputs for validation. The tool performs timezone-aware date arithmetic and returns the calculated interval within a structured JSON payload.

Can I format a datetime using strftime tokens and regional formats?

Yes, you can format a datetime using strftime-style tokens like %Y-%m-%d %H:%M:%S. The tool also supports common regional formats including ISO, Chinese, US, and EU, returning the formatted string within structured JSON.

Does the datetime tool require external dependencies to retrieve the current time?

No, the datetime tool requires no external dependencies to retrieve the current time. It operates independently to return the current datetime, weekday, timestamp, and ISO string for any supported timezone identifier.

How do I get the current weekday and timestamp for a specific timezone?

To get the current weekday and timestamp for a specific timezone, request the current time using a valid timezone identifier. The tool validates the input and outputs structured JSON containing the weekday, ISO string, and Unix timestamp.

Why does my date formatting output return a validation error?

A date formatting output returns a validation error when the input date or timezone identifier is invalid. The tool validates all timezones and date inputs before processing formatting, arithmetic, or timezone conversion requests.