messageTimeFormatString(default: "ddd MMM dd yyyy")

The format string used to display message timestamps.

Example

<div id="chat"></div>
<script>
let messagesData = [
    {
        id: 1,
        text: "Notice how the timestamp format is different - it shows only hours and minutes!",
        authorId: "user1",
        authorName: "John Doe",
        authorImageUrl: "https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg",
        timestamp: new Date(2026, 0, 1, 14, 30)
    },
    {
        id: 2,
        text: "Yes, the HH:mm format is much more compact and user-friendly.",
        authorId: "user2",
        authorName: "Jane Smith",
        authorImageUrl: "https://demos.telerik.com/kendo-ui/content/web/Customers/LONEP.jpg",
        timestamp: new Date(2026, 0, 1, 15, 45)
    }
];

$("#chat").kendoChat({
    messageTimeFormat: "HH:mm",
    authorId: "user1",
    dataSource: messagesData
});
</script>
In this article
messageTimeFormat
Not finding the help you need?
Contact Support