April 2017
Intermediate to advanced
706 pages
17h 8m
English
DMY2DATE allows us to create a date from integer values (or defaults) representing the day of the month, month of the year, and the four-digit year. If an optional parameter (MonthValue or YearValue) is not specified, the corresponding value from the System Date is used. The syntax is as follows:
DateVariable := DMY2DATE ( DayValue [, MonthValue] [, YearValue] )
The only way to have the function use Work Date values for Month and Year is to extract those values and then use them explicitly. An example is as follows:
DateVariable := DMY2DATE(22,DATE2MDY(WORKDATE,2),DATE2MDY(WORKDATE,3))
Read now
Unlock full access