Duration Property



 
The Duration property contains the booking duration (time mode).


Syntax

    [long=] Booking.Duration
    
Possible Values
    Long value that retrieves the duration.

    The property is read only.
Remarks
    Valid in time mode.

    Durations are a number of seconds.
Examples
    The following example displays the booking duration of the first account's first booking.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    bookings = SiteCafe.Server.Bookings.GetBookings(1, 0, 0, 1, 10);
    alert(bookings.Item(1).Duration);
    </SCRIPT>
    

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

Back to top