GET TIME
Retrieve current time or convert times across timezones with flexible formatting options, supporting multiple zones and output formats.
Instructions
Get current time or convert times across timezones with flexible formatting. Defaults to current time in system timezone when no parameters provided. Use timezones array to get multiple zones, formats array for multiple output formats.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| datetime | No | Optional. ISO datetime string (e.g., '2024-12-25T15:00:00'). If not provided, current time is used. | |
| timezones | No | List of timezone names to include in output. Examples: ['America/New_York', 'Asia/Tokyo', 'Europe/London'] | |
| formats | No | Output formats for the base datetime only (not applied to individual timezones). Creates separate entries for each format. | |
| locale | No | Locale for formatting (e.g., 'en-US', 'fr-FR', 'ja-JP'). Affects localeString and relative formats. | |
| includeOffsets | No | Include UTC offsets like +09:00, -04:00 in output |