ExpiryDate Property
The ExpiryDate property contains the expiration date of the account.
Syntax
Account.ExpiryDate [=long]
|
Possible Values
Long value that specifies or retrieves the date.
|
The property is read/write.
Remarks
If this property is 0, there is no expiration date.
Dates are specified by the return value of the Date.getVarDate method divided by 1000.
Returned dates contain the number of seconds elapsed since midnight (00:00:00), January 1, 1970, coordinated universal time (UTC).
Examples
The following example displays the expiration date of the first available account.
<SCRIPT TYPE="text/javascript">
window.external.InitScriptInterface();
account = SiteCafe.Server.Accounts.GetAccountByIndex(1);
alert(account.ExpiryDate);
</SCRIPT>
|
Applies to
SiteKiosk v6.2 (and later versions).
Back to top