Handlebars Helpers
Current Datetime Formatted
Returns the current date and time in a specified format.
Uses
- Use to put a timestamp in a specific format
- Use in a AI system prompt to make the AI aware of the current time
Usage
Helper name : current_datetime_formatted
eg.
{{#current_datetime_formatted [locale] [options]}}{{/current_datetime_formatted}}
Examples
Format current date and time according to US locale
Example definition:
Substituted definition