NoSeconds Property



 
The NoSeconds property indicates whether to hide the seconds.


Syntax

    DateTimeFormatter.NoSeconds [=bool]
    
Possible Values
    Boolean value that specifies or retrieves the hide seconds status.

    The property is read/write.
Remarks
    None.
Examples
    The following example shows the creation time of the last logfile message hiding the seconds.

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

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

Back to top