time_diff
Calculate time differences between two dates in various units. Specify start and optional end times to get results in seconds, minutes, hours, days, or weeks.
Instructions
Calculate time difference between two dates. Defaults to now if end omitted.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| start | Yes | Start time | |
| end | No | End time (default: now) | |
| unit | No | Output unit |