TimeFormatString Property



 
The TimeFormatString property contains a string that specifies the time format.


Syntax

    DateTimeFormatter.TimeFormatString [=str]
    
Possible Values
    String that specifies or retrieves the format.

    The property is read/write.
Remarks Examples
    The following example shows the hour and minute of the last logfile message.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    last = SiteKiosk.Logfile.LastMessages.Count;
    myDate = SiteKiosk.Logfile.LastMessages.Item(last).LocalTime;
    myDTF = SiteKiosk.SiteKioskUI.CreateDateTimeFormatter();
    myDTF.TimeFormatString = "hh:mm";
    alert(myDTF.FormatTime(myDate));
    </SCRIPT>
    

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

Back to top