Skip to main content

ASPxSchedulerDateTimeHelper.AddTimeSpan(date, timeSpan) Method

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

#Declaration

TypeScript
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