Inhaltsverzeichnis

AddDate

The function AddDate() adds a period (d days - default -, m months or y years) to a date and returns it as a result. The date is returned as a character string in short date format in the language in which the server is configured. E.g. for fr-FR culture: dd/MM/yyyy, for nl-NL culture d-M-yyyy.

Syntax:

AddDate('Datum', 'Anzahl', 'Identifikator')

Sample

AddDate('29.09.2006', '10' )

returns 09.10.2006

AddDate('29.09.2006', '10', 'd')

returns 09.10.2006

AddDate('29.09.2006', '1', 'm')

returns 29.10.2006

AddDate('29.09.2006', '1', 'y')

returns 29.09.2007

AddDate(ActualDateTime("yyyy-MM-dd"), '11', 'd')

Today in 11 days