Progress
Results User’s Guide
for UNIX
Date Display Formats
Date formats specify a two-digit month and a two-digit day. Date formats can specify a year in this century with two digits or four digits, while years in another century require four digits. You can use a slash (/) or a hyphen () as a separator. The default date format is mm/dd/yy and is shown as 99/99/99.
Results determines where to put the month, day, and year, values based on any Date Format (-d) startup option you might have used. This startup option lets you specify a date format for your application.
You set the date display format with the -d option. However, this is just the display format. It is not the way Progress stores the data. It stores dates in the default format (month/day/year). Therefore, when you enter date values in Progress expressions in Expert mode in any Results module, enter them in the month/day/year format.
Table C–7 shows some examples of how Results displays a date value using different formats. When you want the user to enter a date in a report, it is best to use the default date display format.
Table C–7: Date Display Formats FORMAT VALUE DISPLAY 99/99/99 3/10/1990 03/10/90 99/99/9999 3/10/2090 03/10/2090 99-99-99 3/10/1990 03-10-90 99-99-99 3/10/2090 ????????1 999999 3/10/1990 031090 999999 03/10/90 031090 99999999 03/10/1990 03101990
If you enter a single digit as the year in a date field, Results uses the current decade with the single digit.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |