LongDate Property



 
The LongDate property indicates whether to use long date information.


Syntax

    DateTimeFormatter.LongDate [=bool]
    
Possible Values
    Boolean value that specifies or retrieves the long date status.

    The property is read/write.
Remarks
    Long date information means that the day and month are written as text.
Examples
    The following example shows the long date information 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.LongDate = true;
    alert(myDTF.FormatDate(myDate));
    </SCRIPT>
    

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

Back to top