Handlebars Helpers
Current Datetime ISO
Inserts the current date and time in ISO 8601 format during Handlebars substitution. Useful for APIs, audit fields, logs, and integration payloads.
Uses
- Use this helper to insert the current datetime in ISO8601 format into an LLM prompt to give the AI the current time.
- Use to inject date stamps into data for tracking purposes.
NOTE
Use the Sugartime helper for most date and time use cases, particularly when a timezone is needed. Only use current_datetime_iso when no timezone is needed, such as for system-level timestamps.
Usage
Example definition:
Substituted definition