In this section: |
The following features apply to the use of dates in your applications.
The default date display format is MM/DD/CCYY, where MM is the month; DD is the day of the month; CC is the first two digits of a 4-digit year, indicating the century; and YY is the last two digits of a 4-digit year.
For example:
02/11/1999
For a table that fully describes the display of a date based on the specified format and user input, see the Describing Data manual.
The following date display options are available:
You can temporarily alter the system date for application testing and debugging using the command SET TESTDATE. With this feature, you can simulate clock settings beyond the year 1999 to determine the way your program will behave. For details, see Customizing Your Environment.
The date functions supplied with your software work across centuries. Many of them facilitate date manipulation. For details, see the Using Functions manual.
You can convert a legacy date to a date format in a FOCUS data source using the option DATE NEW on the REBUILD command. For details, see the Maintaining Databases manual.
The ALL option, in conjunction with the HOLD option, on the CHECK FILE command includes file-level and field-level default century and year thresholds as specified in a Master File. For details, see the Describing Data manual.
The year in the time stamp for a FOCUS data source is physically written to page one of the file in the format CCYY.
|
Information Builders |