DATEYMD(Year, Month, Day)

Numeric Expression

Creates a date value from numeric arguments for year, month, and day.

QDS date values are numeric values equal to the number of days since December 30, 1899 (dates before December 30, 1899 have negative values). For example, a date of 12/30/1899 = 0 and 12/31/1899 = 1.

Examples:

DATEYMD(1965,8,10) returns: 23964

You can also use date components from other Data Element, Date type items. For example if DATE is the variable name of a Month/Year only Date type item, a full date can be created by using this function to add a day of ‘1’:

DATEYMD(DATEY,DATEM,1)