timezone-tools
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
python scripts/get_time.py" "America/New_York"
Convert time between timezones
python scripts/convert_time.py" "America/New_York" "14:30" "Australia/Perth"
Search for timezone names
python scripts/list_timezones.py" "perth"
Instructions
When the user asks about time or timezones:
-
For current time queries (e.g., "What time is it in Tokyo?"):
- Use
scripts/get_time.pywith IANA timezone name - If unsure of timezone name, search first with
list_timezones.py - Script outputs: timezone, datetime, day of week, DST status
- Use
-
For time conversions (e.g., "What's 2pm EST in Perth time?"):
- Use
scripts/convert_time.pywith source timezone, time (HH:MM 24-hour), target timezone - Script shows source time, target time, and time difference
- Automatically handles DST changes
- Use
-
For timezone searches:
- Use
scripts/list_timezones.pywith city/country name - Returns matching IANA timezone names
- Use
Common Timezones Reference
For quick reference, see 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?"
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?"
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?"
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:30not2:30 PM - ISO 8601 datetime format for output:
2025-11-07T14:30:45 - IANA timezone names (e.g.,
America/New_York, notEST)
Troubleshooting
"Invalid timezone" error
- Use IANA timezone names:
America/New_YorknotESTorEastern - Search with
list_timezones.pyif unsure - Check data/common_timezones.json for reference
"Invalid time format" error
- Use 24-hour format:
14:30not2:30 PM - Format must be
HH:MMwith colon separator
Missing dependencies
Install required Python packages:
pip install tzlocal
Dependencies
- Python 3.9+
tzlocal>=5.0- for local timezone detectionzoneinfo- 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)
More from henkisdabro/wookstar-claude-plugins
google-ads-scripts
Expert guidance for Google Ads Script development including AdsApp API, campaign management, ad groups, keywords, bidding strategies, performance reporting, budget management, automated rules, and optimization patterns. Use when automating Google Ads campaigns, managing keywords and bids, creating performance reports, implementing automated rules, optimizing ad spend, working with campaign budgets, monitoring quality scores, tracking conversions, pausing low-performing keywords, adjusting bids based on ROAS, or building Google Ads automation scripts. Covers campaign operations, keyword targeting, bid optimization, conversion tracking, error handling, and JavaScript-based automation in Google Ads editor.
77ffmpeg-cli
FFmpeg CLI reference for video and audio processing, format conversion, filtering, and media automation. Use when converting video formats, resizing or cropping video, trimming by time, replacing or extracting audio, mixing audio tracks, overlaying text or images, burning subtitles, creating GIFs, generating thumbnails, building slideshows, changing playback speed, encoding with H264/H265/VP9, setting CRF/bitrate, using GPU acceleration, creating storyboards, or running ffprobe. Covers filter_complex, stream selectors, -map, -c copy, seeking, scale, pad, crop, concat, drawtext, zoompan, xfade.
46shopify-developer
Complete Shopify development reference for Liquid templating, theme development (OS 2.0), GraphQL Admin API, Storefront API, custom app development, Shopify Functions, Hydrogen, performance optimisation, and debugging. Use when working with .liquid files, creating theme sections and blocks, writing GraphQL queries or mutations for Shopify, building Shopify apps with CLI and Polaris, implementing cart operations via Ajax API, optimising Core Web Vitals for Shopify stores, debugging Liquid or API errors, configuring settings_schema.json, accessing Shopify objects (product, collection, cart, customer), using Liquid filters, creating app extensions, working with webhooks, migrating from Scripts to Functions, or building headless storefronts with Hydrogen and React Router 7. Covers API version 2026-01.
28google-analytics
Comprehensive Google Analytics 4 guide covering property setup, events, custom events, recommended events, custom dimensions, user tracking, audiences, reporting, BigQuery integration, gtag.js implementation, GTM integration, Measurement Protocol, DebugView, privacy compliance, and data management. Use when working with GA4 implementation, tracking, analysis, or any GA4-related tasks.
24google-tagmanager
Comprehensive Google Tag Manager guide covering container setup, tags, triggers, variables, data layer, debugging, custom templates, and API automation. Use when working with GTM implementation, configuration, optimisation, troubleshooting, or any GTM-related tasks.
23tampermonkey
Write and debug Tampermonkey userscripts for browser automation, page modification, and web enhancement. Use whenever the user mentions userscripts, Tampermonkey, Greasemonkey, Violentmonkey, or wants to write a script that runs on a website - even if they don't say 'userscript' explicitly. Also trigger for: injecting JavaScript or CSS into web pages, modifying website behaviour, hiding page elements, form auto-fill, scraping page data, intercepting requests, detecting URL changes in SPAs, adding keyboard shortcuts to websites, tab audio control, or TypeScript userscripts. Covers all header tags (@match, @grant, @require, @run-in), GM_* synchronous APIs, GM.* promise-based APIs (recommended for new scripts), batch storage (GM.getValues/setValues v5.3+), binary data support (v5.4+), TypeScript setup via @types/tampermonkey, security sandboxing, and cross-browser compatibility (Chrome, Firefox, Edge). Do NOT use for Selenium/Puppeteer automation, browser extensions (WebExtensions/MV3), or server-side scripts.
23