Automatically detect time/date mentions in user messages and convert them to multiple timezones or formats. Use when user mentions times, dates, or asks about timezone conversions...
Activate this skill automatically when user:
Parse user message for:
Timezone Mapping:
CET/CEST ā Europe/Berlin
EST/EDT ā America/New_York
PST/PDT ā America/Los_Angeles
JST ā Asia/Tokyo
GMT/UTC ā UTC
Use: get_current_time
Parameters:
- timezone: detected location
- format: "human" (readable)
Use: convert_timezone
Parameters:
- time: extracted time (ISO format)
- from_tz: source timezone
- to_tz: target timezone
Use: calculate_duration
Parameters:
- start: first time
- end: second time
- unit: "hours" (default)
Single Timezone Query:
Current time in Tokyo:
Tuesday, 15. January 2025 18:30:00 JST
(2025-01-15T18:30:00+09:00)
Timezone Conversion:
3 PM EST (America/New_York)
= 9 PM CET (Europe/Berlin)
= 5 AM JST (Asia/Tokyo, next day)
Duration Calculation:
From: 9:00 AM Berlin
To: 5:00 PM Berlin
Duration: 8.0 hours (28800 seconds)
Ambiguous Input:
Invalid Timezone:
Date Handling:
Input: "What time is it in Berlin?"
Actions:
get_current_time(timezone="Europe/Berlin", format="human")Current time in Berlin (Europe/Berlin):
Tuesday, 15. January 2025 14:30:45 CET
Input: "Convert 3 PM EST to CET"
Actions:
convert_timezone(time="2025-01-15T15:00:00", from_tz="America/New_York", to_tz="Europe/Berlin")3:00 PM EST (New York)
= 9:00 PM CET (Berlin)
(+6 hours difference)
Input: "Show me 10 AM Berlin in all major timezones"
Actions:
10:00 AM Berlin (CET) is:
UTC: 09:00 AM
New York: 04:00 AM (EST)
Los Angeles: 01:00 AM (PST)
Tokyo: 06:00 PM (JST)
Input: "How long from 9 AM to 5:30 PM?"
Actions:
calculate_duration(start="2025-01-15T09:00:00", end="2025-01-15T17:30:00", unit="hours")Duration: 8.5 hours
From: 09:00 AM
To: 05:30 PM
(That's 8 hours 30 minutes / 30600 seconds)
Input: "If the meeting starts at 2 PM Berlin time and lasts 90 minutes, what time does it end in Tokyo?"
Actions:
Meeting Schedule:
Start: 2:00 PM Berlin (14:00 CET)
= 10:00 PM Tokyo (22:00 JST)
End: 3:30 PM Berlin (15:30 CET)
= 11:30 PM Tokyo (23:30 JST)
Duration: 1.5 hours (90 minutes)
Input: "What time is it in Atlantis?" Response:
ā ļø Unknown timezone: "Atlantis"
Did you mean:
- Atlanta (America/New_York, EST)
- Atlantic Standard Time (America/Halifax, AST)
Or try: Europe/Berlin, America/New_York, Asia/Tokyo
Input: "Convert 25:00 to EST" Response:
ā ļø Invalid time: "25:00"
Please use 24-hour format (00:00 - 23:59)
or 12-hour format with AM/PM (e.g., "1:00 PM")
Input: "3 PM next week" Response:
ā ļø "next week" is ambiguous.
Please specify:
- Day of week (e.g., "next Monday")
- Exact date (e.g., "2025-01-22")