Setting the Display Format of the Date and Time

The date and time of the most recent chat message are visible to the visitor. You can change the format in which the date and time are displayed.

To do so, you must modify VChatFormLeft.inc. This file is available in the <installation folder>\Media\VisitorChat folder on the IIS server computer where Web Components have been installed.

Refer to the function UpdSts() in VChatFormLeft.inc. The variable nChoiceOfDate indicates the format of the date and time. The value can be one of the following:

Value Description
1 The date is displayed in the mm/dd/yyyy format. This is the default format.
2 The date is displayed in the dd/mm/yy format.
3 The date is displayed in the dd-mm-yy format.
4 The date is displayed in the mm-dd-yy format.
5 The date is displayed in the m/d/yy format.
6 The date is displayed in the Long format.

You can also hide the date and time. To do so, remove the lines document.all.ButtonTable.rows(0).cells(0).innerText = strDateTime and
document.getElementById("counter").childNodes[0].nodeValue = strDateTime from the function UpdSts().