days_since_event
Calculate the number of days elapsed since a named event in your timeline, using a reference time to anchor the calculation.
Instructions
Return the number of days since a named timeline event (e.g., surgery_date).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| event_name | Yes | ||
| reference_time | Yes | ISO-8601 datetime | |
| timeline_state | Yes |