DateFormatString Property
The DateFormatString property contains a string that specifies the date format.
Syntax
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">
window.external.InitScriptInterface();
last = SiteKiosk.Logfile.LastMessages.Count;
myDate = SiteKiosk.Logfile.LastMessages.Item(last).LocalTime;
myDTF = SiteKiosk.SiteKioskUI.CreateDateTimeFormatter();
myDTF.DateFormatString = "dd:yy";
alert(myDTF.FormatDate(myDate));
</SCRIPT>
|
Applies to
SiteKiosk v6.0 (and later versions).
Back to top