Basic Syntax CrystalClear Syntax Before Reading Records

DateAdd( intervalType, nIntervals, startDateTime)


Adds a number of specified intervals to the start date.

The parameter intervalType specifies a string specification of the date part that should extracted:

Usage:

DateAdd( intervalType, nIntervals, startDateTime)

Parameter:

intervalType String specification of the date part that should extracted.
nIntervals Number of intervalls that will be added.
startDateTime Specifies the start date to that the number of intervalls will be added.

Returns:

DateTime

Example:

DateAdd( "yyyy", 1, DateTime (2009, 12, 23))
-> Returns the datetime 12/23/2010 12:00:00 AM.

See also:


i-net software strives to provide accurate product documentation. Please give us your feedback using the form below.
NOTE: This form is for documentation feedback only. For technical assistance, please send an email to crystalclear@inetsoftware.de.

This page is: very poor very good
Comment: