SHORTDATE(Date)

String Expression

Converts the numeric date value to a short-string form that can be used to display in question text, Edit Elements, or Information Elements. Valid arguments include a QDS date variable, numeric value, or QDS function that returns a date value (e.g., DATEYMD).

Examples:

SHORTDATE(DATEYMD(1980,8,12)) returns "08/12/1980"

SHORTDATE (TODAY) returns "10/31/2017"

SHORTDATE (TODAY – 60) returns "09/01/2017"

You can also use date components from other Data Element, Date type items; for example where DATE is the variable name of the Date type item:

SHORTDATE(DATEYMD(DATEY,DATEM,DATED))

This would give you the same result as:

SHORTDATE(DATE)