addDays(value: Date, days: number): Date
Gets a new Date that adds the specified number of days to a given Date.
addHours(value: Date, hours: number): Date
Gets a new Date that adds the specified number of hours to a given Date.
addMinutes(value: Date, minutes: number): Date
Gets a new Date that adds the specified number of minutes to a given Date.
addMonths(value: Date, months: number): Date
Gets a new Date that adds the specified number of months to a given Date.
addSeconds(value: Date, seconds: number): Date
Gets a new Date that adds the specified number of seconds to a given Date.
addYears(value: Date, years: number): Date
Gets a new Date that adds the specified number of years to a given Date.
clone(date: Date): Date
Creates a copy of a given Date object.
Date object to copy.
equals(d1: Date, d2: Date): boolean
Returns true if two Date objects refer to the same date and time.
fromDateTime(date: Date, time: Date): Date
Gets a Date object with the date and time set on two Date objects.
Date object that contains the date (day/month/year).
Date object that contains the time (hour:minute:second).
fromFiscal(date: Date, govt: boolean): void
Converts a fiscal year date to a calendar date using the current culture.
newDate(): Date
Gets a new Date object set to today's date and no time portion.
sameDate(d1: Date, d2: Date): boolean
Returns true if two Date objects refer to the same date (ignoring time).
Provides date and time utilities.