ebay_convert_date_to_timestamp
Convert various date formats (ISO 8601, Unix timestamps, relative time) to Unix timestamp in milliseconds for token expiry calculation.
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. Supports ISO 8601 strings (e.g., "2025-01-15T10:30:00Z"), Unix timestamps (seconds or milliseconds), or relative time (e.g., "in 2 hours") |