DATES

DATES returns a date string, in the form 'yy-mm-dd' or 'yyyy-mm-dd', corresponding to a given year, month, and day.

This function is valid in both rules and TurboIntegrator processes.

Syntax

DATES(year, month, day)

Argument

Description

year

A year, expressed in either yy or yyyy format.

month

A month, expressed in mm format.

day

A day, expressed in dd format.

Example

DATES(98, 2, 10) returns '98-02-10'.

DATES(1998, 2, 10) returns '1998-02-10'.