Date & Time Helper Skill
When to Use
- •User asks about "today", "tomorrow", "next week", etc.
- •You need to include current date in reports or research
- •You must calculate deadlines, durations, or historical dates
- •Any time-sensitive query requires precise date handling
How It Works
- •Call
get_current_datetime()to get ISO-formatted current datetime - •Use Python's
datetimemodule logic for calculations (described below) - •Format dates as "Mon Jan 25, 2026" for user-facing responses
Date Calculation Logic
- •"Tomorrow" = today + 1 day
- •"Next Monday" = next Monday after today
- •"3 days ago" = today - 3 days
- •Always use UTC to avoid timezone confusion
Example Usage
User: "What's the date tomorrow?"
→ Call get_current_datetime()
→ Calculate tomorrow = today + timedelta(days=1)
→ Respond: "Tomorrow is Tue Jan 26, 2026"