How to: |
The DT_CURRENT_DATE function returns the current date-time provided by the running operating environment in date-time format. The time portion of the date-time is set to zero.
DT_CURRENT_DATE()
The following request returns the current date.
DEFINE FILE WF_RETAIL_LITE CURRDATE/YYMD WITH COUNTRY_NAME = DT_CURRENT_DATE(); END TABLE FILE WF_RETAIL_LITE SUM CURRDATE ON TABLE SET PAGE NOPAGE END
The output is shown in the following image.