Comprehensive time and date operations for agents.
Actions
- current_time — Get current time with full breakdown (year, month, day, day_of_week, quarter, week, unix timestamp, DST status). Answers "what time/year/month/day is it?"
- convert_time — Convert datetime between timezones with offset calculation.
- relative_time — Human-readable relative time ("2 days ago", "in 3 hours").
- get_timestamp — Convert ISO datetime to Unix timestamp (ms and seconds).
- days_in_month — Days in a month, first/last day, leap year check.
- get_week_year — ISO week number, day of year, quarter, days remaining.
- date_diff — Difference between two dates in days, weeks, months, years, hours, and business days.
- date_add — Add/subtract duration from a date (+30d, -2M, +1y, +3h, +15m). M=months, m=minutes.
- is_business_day — Weekday/weekend check with next/previous business day (no holiday awareness).
- list_timezones — List IANA timezones, optionally filtered by region.