datetime_diff
Compute the absolute difference between two datetime strings, returning the duration in a specified unit. Ideal for finding time intervals, scheduling gaps, or duration calculations.
Instructions
[datetime] Compute the absolute difference between two datetime strings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | ||
| b | Yes | ||
| unit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |