Date and Time
date_timeFull Description
Get current date/time or enumerate dates in a range.
Two Modes
1. Current Date/Time (no parameters)
Returns:
- Current date in multiple formats (ISO, dd/mm/yyyy)
- Current time (HH:MM:SS with timezone)
- Day of the week (Mon, Tue, Wed, etc.)
- Unix timestamp
2. Date Range Enumeration (with start_date and end_date)
Returns all dates between start and end (inclusive) with:
- Date in dd/mm/yy format
- Day of the week abbreviation (Mon, Tue, Wed, Thu, Fri, Sat, Sun)
Parameters
- start_date (optional): Start of date range (inclusive). ISO 8601 or dd/mm/yyyy format.
- end_date (optional): End of date range (inclusive). ISO 8601 or dd/mm/yyyy format.
Parameters (0 required, 2 optional)
end_datestringEnd date for range enumeration (inclusive). Accepts ISO 8601 format (e.g., "2024-01-20") or common formats like "20/01/2024". If provided, start_date is also required.
start_datestringStart date for range enumeration (inclusive). Accepts ISO 8601 format (e.g., "2024-01-15") or common formats like "15/01/2024". If provided, end_date is also required.