Date and time
You can display a date, time or datetime to your user taking into account your user's date/time formats, as well as their timezone using the dateTime element.
Tags
Tags
Description
Attributes
<dateTime value="2024-12-31T09:29:47Z" format="date | time | time_secs"/>
Display a date or time to the user, taking into account the user locale timezone.
value (required): ISO-8601 or UTC timestamp.
format:
date_time: date + time format based on user settings and user timezone. Default value if no format is provided
date : ddMMyyyy with format based on user settings (DD/MM/YYYY, MM/DD/YYYY, YYYY/MM/DD) and user timezone
time : hhmm with format based on user settings (12h / 24h) and user timezone
time_secs : hhmmss with format based on user settings (12h / 24h) and user timezone
This element is read-only - if you want an interactive element instead, you can use a Date Picker or Time Picker in a chat.
Versions and Compatibility
Main features introduced
Agent needed to parse message sent by the bot
Initial release
Agent 25.6
Last updated
Was this helpful?