timezone-tools
Get current time in any timezone and convert times between timezones. Use when working with time, dates, timezones, scheduling across regions, "what time is it in X", "convert 3pm Sydney to London", DST checks, or when the user mentions specific cities/regions for time queries. Supports IANA timezone names. Do NOT use for date arithmetic (adding days/months), recurring event scheduling, business-day calculations, or full calendar/booking logic - those need a dedicated date library or scheduling tool.
What this skill does
# Timezone Tools Get current time in any timezone and convert times between different timezones using IANA timezone database. ## Quick Start ### Get current time in a timezone ```bash python scripts/get_time.py" "America/New_York" ``` ### Convert time between timezones ```bash python scripts/convert_time.py" "America/New_York" "14:30" "Australia/Perth" ``` ### Search for timezone names ```bash python scripts/list_timezones.py" "perth" ``` ## Instructions When the user asks about time or timezones: 1. **For current time queries** (e.g., "What time is it in Tokyo?"): - Use `scripts/get_time.py` with IANA timezone name - If unsure of timezone name, search first with `list_timezones.py` - Script outputs: timezone, datetime, day of week, DST status 2. **For time conversions** (e.g., "What's 2pm EST in Perth time?"): - Use `scripts/convert_time.py` with source timezone, time (HH:MM 24-hour), target timezone - Script shows source time, target time, and time difference - Automatically handles DST changes 3. **For timezone searches**: - Use `scripts/list_timezones.py` with city/country name - Returns matching IANA timezone names ## Common Timezones Reference For quick reference, see [data/common_timezones.json](data/common_timezones.json) which includes major cities worldwide, with Perth prominently featured. **User's local timezone**: The scripts automatically detect your local timezone using `tzlocal`. ## Examples ### Example 1: Current time query User: "What time is it in Perth?" ```bash python scripts/list_timezones.py" "perth" # Output: Australia/Perth python scripts/get_time.py" "Australia/Perth" # Output: # Timezone: Australia/Perth # Current time: 2025-11-07T15:30:45 # Day: Thursday # DST: No ``` ### Example 2: Time conversion User: "I have a meeting at 2pm New York time, what time is that in Perth?" ```bash python scripts/convert_time.py" "America/New_York" "14:00" "Australia/Perth" # Output: # Source: America/New_York - 2025-11-07T14:00:00 (Thursday, DST: No) # Target: Australia/Perth - 2025-11-08T03:00:00 (Friday, DST: No) # Time difference: +13.0h ``` ### Example 3: Multiple timezone search User: "What are the timezone codes for London, Tokyo, and Sydney?" ```bash python scripts/list_timezones.py" "london" python scripts/list_timezones.py" "tokyo" python scripts/list_timezones.py" "sydney" # Outputs: # Europe/London # Asia/Tokyo # Australia/Sydney ``` ## Time Format - All times use **24-hour format** (HH:MM): `14:30` not `2:30 PM` - ISO 8601 datetime format for output: `2025-11-07T14:30:45` - IANA timezone names (e.g., `America/New_York`, not `EST`) ## Troubleshooting ### "Invalid timezone" error - Use IANA timezone names: `America/New_York` not `EST` or `Eastern` - Search with `list_timezones.py` if unsure - Check [data/common_timezones.json](data/common_timezones.json) for reference ### "Invalid time format" error - Use 24-hour format: `14:30` not `2:30 PM` - Format must be `HH:MM` with colon separator ### Missing dependencies Install required Python packages: ```bash pip install tzlocal ``` ## Dependencies - Python 3.9+ - `tzlocal>=5.0` - for local timezone detection - `zoneinfo` - built-in Python 3.9+ (IANA timezone database) ## Notes - Scripts automatically handle Daylight Saving Time (DST) - Local timezone is auto-detected from system - All timezone data uses IANA Time Zone Database - Perth, Australia timezone: `Australia/Perth` (UTC+8, no DST)
Related in Productivity
gitea-workflow
IncludedOrchestrate agile development workflows for Gitea repositories using the tea CLI. Use when working with Gitea-hosted repos and asking to 'run the workflow', 'continue working', 'what's next', 'complete the task cycle', 'start my day', 'end the sprint', 'implement the next task', or wanting guided step-by-step development assistance. Keywords: workflow, orchestrate, agile, task cycle, sprint, daily, implement, review, PR, standup, retrospective, gitea, tea.
microsoft-graph-gateway
IncludedRoute Microsoft Graph work in this workspace. Use when users want to read or write Outlook mail, calendar events, contacts, OneDrive or SharePoint files, Teams, Planner, To Do, users, groups, directory data, or arbitrary Microsoft Graph endpoints from VS Code. Prefer WorkIQ for common read scenarios. Use Microsoft Graph for write actions and gap-read scenarios that need exact Graph properties, filters, permissions, or endpoints.
copilotkit
IncludedUse when building with CopilotKit — setup, development, integrations, debugging, upgrading, or contributing. Routes to the appropriate specialized skill based on the task.
wordly-wisdom
IncludedProvides calibrated decision analysis using Charlie Munger-style multiple mental models, inversion, incentive mapping, circle-of-competence checks, misjudgment audits, second-order effects, and forecast updates. Use when the user asks for an oracle take, a hard call, a decision memo, a premortem, an outside view, a red-team, a sanity-check, what am I missing, think this through, or wants a strategy, hire, investment, plan, product, partnership, or major life choice analysed. Avoid for simple factual lookups or time-sensitive legal, medical, or market questions without fresh evidence.
swain-session
IncludedSession management and project status dashboard. Owns the full session lifecycle (start/work/close/resume), focus lane, bookmarks, worktree detection, and tab naming. Also serves as the project status dashboard — shows active epics, progress, actionable next steps, blocked items, tasks, GitHub issues, and recommendations. Worktree creation is deferred to swain-do task dispatch (SPEC-195). Triggers on: 'session', 'status', 'what's next', 'dashboard', 'overview', 'where are we', 'what should I work on', 'show me priorities', 'bookmark', 'focus on', 'session info'.
gandi
IncludedComprehensive Gandi domain registrar integration for domain and DNS management. Register and manage domains, create/update/delete DNS records (A, AAAA, CNAME, MX, TXT, SRV, and more), configure email forwarding and aliases, check SSL certificate status, create DNS snapshots for safe rollback, bulk update zone files, and monitor domain expiration. Supports multi-domain management, zone file import/export, and automated DNS backups. Includes both read-only and destructive operations with safety controls.