World Clock logo

World Clock

Community
coleam00
world_clock

Get current time in any timezone and convert times between locations. Use when user asks about time in different cities, timezone conversions, or scheduling across timezones.

Overview

Publishercoleam00
Repositorycustom-agent-with-skills
Skill nameworld_clock
Stars
107
Forks
42
Bundled files
Instructions only
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by coleam00 on GitHub. Read the source before you install it.

Installation

Install the World Clock AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/coleam00/custom-agent-with-skills/tree/main/skills/world_clock
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/coleam00/custom-agent-with-skills.git /tmp/custom-agent-with-skills
mkdir -p .claude/skills
cp -r /tmp/custom-agent-with-skills/skills/world_clock .claude/skills/world_clock
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable World Clock in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads World Clock on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so World Clock is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

World Clock Skill

Get the current time anywhere in the world and convert times between timezones. Useful for scheduling across timezones, checking times in other cities, and handling daylight saving time.

When to Use

  • User asks "What time is it in [city]?"
  • User needs to convert time between timezones
  • User is scheduling a meeting across timezones
  • User asks about daylight saving time
  • User asks when business hours start/end in another timezone

Available Operations

  1. Current Time: Get the current time in any timezone
  2. Time Conversion: Convert a specific time from one timezone to another
  3. DST Information: Check if a location is currently in daylight saving time
  4. Multiple Timezones: Show current time in several locations at once

Instructions

When a user asks about time or timezones:

Step 1: Identify the Request Type

  • Current time query: "What time is it in Tokyo?"
  • Conversion query: "If it's 3pm in New York, what time is it in London?"
  • Scheduling query: "When should I schedule a call for 9am PST for someone in Berlin?"

Step 2: Get Timezone Identifier

Use the WorldTimeAPI with the appropriate timezone identifier.

API Endpoint:

https://worldtimeapi.org/api/timezone/{Area}/{Location}

Step 3: Make the API Call

Example - Get Tokyo time:

https://worldtimeapi.org/api/timezone/Asia/Tokyo

Example - Get New York time:

https://worldtimeapi.org/api/timezone/America/New_York

Step 4: Present Results

Format clearly with:

  • Current local time (12-hour and 24-hour format)
  • Day of the week and date
  • Timezone abbreviation (PST, EST, JST, etc.)
  • UTC offset
  • Whether DST is active

Common Timezone Identifiers

Americas

CityTimezone ID
New YorkAmerica/New_York
Los AngelesAmerica/Los_Angeles
ChicagoAmerica/Chicago
DenverAmerica/Denver
TorontoAmerica/Toronto
VancouverAmerica/Vancouver
Mexico CityAmerica/Mexico_City
Sao PauloAmerica/Sao_Paulo
Buenos AiresAmerica/Argentina/Buenos_Aires

Europe

CityTimezone ID
LondonEurope/London
ParisEurope/Paris
BerlinEurope/Berlin
AmsterdamEurope/Amsterdam
RomeEurope/Rome
MadridEurope/Madrid
MoscowEurope/Moscow
IstanbulEurope/Istanbul
DublinEurope/Dublin

Asia & Pacific

CityTimezone ID
TokyoAsia/Tokyo
SingaporeAsia/Singapore
Hong KongAsia/Hong_Kong
ShanghaiAsia/Shanghai
BeijingAsia/Shanghai
SeoulAsia/Seoul
MumbaiAsia/Kolkata
DelhiAsia/Kolkata
DubaiAsia/Dubai
SydneyAustralia/Sydney
MelbourneAustralia/Melbourne
AucklandPacific/Auckland

Africa & Middle East

CityTimezone ID
CairoAfrica/Cairo
JohannesburgAfrica/Johannesburg
LagosAfrica/Lagos
Tel AvivAsia/Jerusalem
RiyadhAsia/Riyadh

Timezone Abbreviations Reference

AbbreviationFull NameUTC Offset
PSTPacific Standard TimeUTC-8
PDTPacific Daylight TimeUTC-7
MSTMountain Standard TimeUTC-7
MDTMountain Daylight TimeUTC-6
CSTCentral Standard TimeUTC-6
CDTCentral Daylight TimeUTC-5
ESTEastern Standard TimeUTC-5
EDTEastern Daylight TimeUTC-4
GMTGreenwich Mean TimeUTC+0
BSTBritish Summer TimeUTC+1
CETCentral European TimeUTC+1
CESTCentral European Summer TimeUTC+2
ISTIndia Standard TimeUTC+5:30
JSTJapan Standard TimeUTC+9
AESTAustralian Eastern Standard TimeUTC+10
AEDTAustralian Eastern Daylight TimeUTC+11

API Response Format

The WorldTimeAPI returns:

json
{
  "abbreviation": "EST",
  "datetime": "2024-01-15T14:30:00.123456-05:00",
  "day_of_week": 1,
  "day_of_year": 15,
  "dst": false,
  "dst_offset": 0,
  "timezone": "America/New_York",
  "unixtime": 1705343400,
  "utc_datetime": "2024-01-15T19:30:00.123456+00:00",
  "utc_offset": "-05:00",
  "week_number": 3
}

Key fields:

  • datetime: Current local time with offset
  • abbreviation: Timezone abbreviation (EST, PST, etc.)
  • utc_offset: Offset from UTC
  • dst: Whether daylight saving time is active
  • day_of_week: 0=Sunday, 1=Monday, etc.

Examples

Example 1: Current Time Query

User asks: "What time is it in Tokyo?"

  1. Call: https://worldtimeapi.org/api/timezone/Asia/Tokyo
  2. Response format: "It's currently 10:30 PM JST (Japan Standard Time) in Tokyo. That's Monday, January 15, 2024. UTC offset: +09:00"

Example 2: Time Conversion

User asks: "If I schedule a call for 3pm Eastern, what time is that in London?"

  1. Get current UTC offset for both timezones
  2. Calculate: Eastern (EST) is UTC-5, London (GMT) is UTC+0
  3. Difference: 5 hours ahead
  4. Response: "3:00 PM Eastern = 8:00 PM GMT in London"

Example 3: Multi-Timezone Display

User asks: "Show me the time in New York, London, and Tokyo"

  1. Call all three timezone endpoints
  2. Present in a table format:
    CityLocal TimeDate
    New York2:30 PM ESTMon, Jan 15
    London7:30 PM GMTMon, Jan 15
    Tokyo4:30 AM JSTTue, Jan 16

Example 4: Meeting Scheduling

User asks: "I need to find a time that works for LA, New York, and Berlin"

  1. Get current times for all three
  2. Note offsets: LA (PST -8), NY (EST -5), Berlin (CET +1)
  3. Find overlap during business hours (9am-6pm local)
  4. Suggest: "9:00 AM Pacific = 12:00 PM Eastern = 6:00 PM Berlin"

Handling Edge Cases

City Not in List

If user mentions a city not in the common list:

  1. Try to find the nearest major city in the same timezone
  2. Or search for the country's timezone
  3. Note any uncertainty in the response

Daylight Saving Time

DST changes dates vary by country:

  • US/Canada: 2nd Sunday March, 1st Sunday November
  • Europe: Last Sunday March, Last Sunday October
  • Australia: 1st Sunday October, 1st Sunday April (opposite hemisphere)
  • Japan, China, India: No DST

Always check the dst field in the API response.

Date Line Crossing

When converting across the International Date Line, the date may change:

  • Tokyo is 14 hours ahead of Los Angeles
  • Monday 10pm in LA = Tuesday 12pm in Tokyo

Notes

  • WorldTimeAPI is completely free with no API key required
  • Rate limit: 1 request per second
  • Times are accurate to the second
  • API automatically handles DST transitions
  • For offline use, basic conversions can be done with UTC offset math

Frequently asked questions

What does the World Clock AI skill do?

Get current time in any timezone and convert times between locations. Use when user asks about time in different cities, timezone conversions, or scheduling across timezones.

Why use World Clock on TypingMind?

Because you install it once and use it with any model. World Clock is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install World Clock in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/coleam00/custom-agent-with-skills/tree/main/skills/world_clock. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use World Clock?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with World Clock?

As many as you like. As long as a model supports skills, you can use World Clock with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the World Clock AI skill free?

It is published on GitHub by coleam00. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇