ebay_convert_date_to_timestamp
Convert a date string, number, or relative time to a Unix timestamp (milliseconds) for setting token expiry times. Handles ISO 8601, Unix timestamps, and expressions like 'in 2 hours'.
Instructions
Convert a date string or number to Unix timestamp (milliseconds). Supports ISO 8601 dates, Unix timestamps (seconds or milliseconds), and relative time (e.g., "in 2 hours", "in 7200 seconds"). Useful when setting token expiry times from user input.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dateInput | Yes | Date to convert as an ISO date string, Unix timestamp, or relative time |