Progress
Programming
Handbook
Date Formats
The default format for a date field or variable is“99/99/99”. Here is the syntax for specifying a date format.
Progress determines where to put the month, day, and year values based on any Date Format (–d) startup parameter you may have used. That startup parameter lets you specify a date format for your application. The default format is mm/dd/yy. Table 17–5 shows some examples of how Progress displays a date value using different formats. When you want the user to enter a date in an application, it is best to use the default date display format.
Table 17–5: Date Display Format Examples 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
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |