Topics: |
The legacy date functions were created for use with dates in integer, packed decimal, or alphanumeric format.
For detailed information on each legacy date function, see:
AYM: Adding or Subtracting Months
AYMD: Adding or Subtracting Days
CHGDAT: Changing How a Date String Displays
DA Functions: Converting a Legacy Date to an Integer
DMY, MDY, YMD: Calculating the Difference Between Two Dates
DOWK and DOWKL: Finding the Day of the Week
DT Functions: Converting an Integer to a Date
GREGDT: Converting From Julian to Gregorian Format
How to: |
The functions described in this section are legacy date functions. They were created for use with dates in integer or alphanumeric format. They are no longer recommended for date manipulation. Standard date and date-time functions are preferred.
All legacy date functions support dates for the year 2000 and later. The old versions of these functions may not work correctly with dates after December 31, 1999. However, in some cases you may want to use the old version of a function, for example, if you do not use year 2000 dates. You can "turn off" the current version with the DATEFNS parameter.
SET DATEFNS = {ON|OFF}
where:
Activates the function that supports dates for the year 2000 and later. ON is the default value.
Deactivates a function that supports dates for the year 2000 and later.
WebFOCUS | |
Feedback |