DateFormatString Property

The DateFormatString property contains a string that specifies the date format.


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

    The property is read/write.
Remarks Examples
    The following example shows the day and year 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();
    myDTF.DateFormatString = "dd:yy";

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

Back to top