SiteKiosk Documentation
One Step Back

FormatDate Method




The FormatDate method formats a date.


Syntax

    [str=] DateTimeFormatter.FormatDate(date)
    
Parameters
    dateDate to format.
Return Value
    Returns a String that contains the formatted date information.
Remarks
    None.
Examples
    The following example shows the complete 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();
    alert(myDTF.FormatDate(myDate));
    </SCRIPT>
    

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

Back to topVolver arriba

© 1997-2011 PROVISIO - Aventura, EEUU - Muenster, Alemania
Sitekiosk.es - Grupo24®, Madrid, España -