Skip to main content
A newer version of this page is available. .

ASPxSchedulerDateTimeHelper.AddTimeSpan(date, timeSpan) Method

Adds the specified timespan to a DateTime object and returns the result.

Declaration

static AddTimeSpan(
    date: Date,
    timeSpan: any
): Date

Parameters

Name Type Description
date Date

A DateTime object to which to add a timespan.

timeSpan any

A TimeSpan object specifying the timespan to add.

Returns

Type Description
Date

A DateTime object.

See Also