DateTimeFormatter Object

The DateTimeFormatter object represents a date and time formatter.

Members Table

    This object is returned by the SiteKioskUI.CreateDateTimeFormatter or SiteCafe.CreateDateTimeFormatter method. Use the DateTimeFormatter object to format date and time information.

    Note that the path of a file using SiteKiosk objects must be allowed in the
    SiteKiosk configuration (Security -> Access -> URL's With Script Permission)
    if it is not a browser skin file.
    The following example shows the complete date information of the last logfile message.

    <SCRIPT TYPE="text/javascript">
    last = SiteKiosk.Logfile.LastMessages.Count;
    myDate = SiteKiosk.Logfile.LastMessages.Item(last).LocalTime;
    myDTF = SiteKiosk.SiteKioskUI.CreateDateTimeFormatter();

Applies to
    SiteKiosk v6.0 (and later versions).

Back to top