relative_time
Convert a specified timestamp into relative time (e.g., '2 hours ago') to add time awareness to your applications. Ideal for enhancing workflows with precise time-related functionalities.
Instructions
Get the relative time from now.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
time | Yes | The time to get the relative time from now. Format: YYYY-MM-DD HH:mm:ss |
Input Schema (JSON Schema)
{
"properties": {
"time": {
"description": "The time to get the relative time from now. Format: YYYY-MM-DD HH:mm:ss",
"type": "string"
}
},
"required": [
"time"
],
"type": "object"
}