date_to_timestamp
Convert a date string to a Unix timestamp. Handles various date formats and allows local or UTC timezone selection.
Instructions
Convert date string to Unix timestamp.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"date_string": "<date_string>"
},
"name": "date_to_timestamp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date_string | Yes | Date string to convert (various formats supported) | |
| timezone | No | 'local' or 'utc' (default: local) | local |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |