Skip to main content

ASPxClientTimeInterval.CalculateDuration(start, end) Method

Calculates the time interval duration.

Declaration

static CalculateDuration(
    start: Date,
    end: Date
): number

Parameters

Name Type Description
start Date

A DateTime value that specifies the start date time value.

end Date

A DateTime value that specifies the end date time value.

Returns

Type Description
number

The interval duration in milliseconds.

See Also