getDurationDateTime
Calculate the duration between two timestamps in seconds, minutes, or hours. Specify start and end times, and choose the unit for precise time difference results.
Instructions
Get the difference time between two datetimes (e.g. 2025-01-01 01:01:01 and 2025-01-02 02:02:02)
Input Schema
Name | Required | Description | Default |
---|---|---|---|
from | Yes | ||
to | Yes | ||
unit | No | second |