Get Current Datetime
get_current_date Parameters
Required Parameters
None - all parameters are optional
Optional Parameters
-
date_format (string)
- Default:
"date" - Available options:
["date", "datetime", "iso", "rfc3339"] - Description: Date/time format style. Default 'date'.
- Default:
-
include_time (boolean)
-
- Default:
false - Description: If true and format='date', will still append time (HH:MM:SS).
- Default:
-
timezone_name (string or null)
- Default:
null - Description: IANA timezone name (e.g. 'UTC', 'America/New_York'). Defaults to 'UTC' if not provided.
- Default:
When to Use get_current_date
This tool returns the current date (and optionally time) in a specified format and timezone. Use when:
- You need to anchor answers to 'today'
- Producing timestamps
- Users ask for current date/time information
- Need to reference current date for date range calculations
- Formatting dates for specific use cases (ISO format, RFC3339, etc.)
Updated 3 days ago
