Kbase P12270: 4GL/ABL: How to change the default 4GL/ABL client session Date Format?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  30/04/2010 |
|
Status: Verified
GOAL:
4GL/ABL: How to change the default 4GL/ABL client session Date Format?
GOAL:
What is the default Date Format for a 4GL/ABL client session?
GOAL:
How to change the display format for month, day and year in a 4GL/ABL client session?
GOAL:
How to change a 4GL/ABL client session Date Format (-d) startup parameter?
FACT(s) (Environment):
Progress/OpenEdge Product Family
All Supported Operating Systems
FIX:
The default display date format is stored in the startup.pf file located in the DLC. This file stores the date format selected during the installation process. To change the this date format, edit the DLC\startup.pf file and change the Date Format (-d) client session startup parameter. For example: -d mdy.
It is also possible to use the Date Format (-d) startup parameter to specify a value in a client session .pf file. It overrides the value set into startup.pf. The format used to display dates in an application can be used a three-character string of the letters: d, m, and y in any order. Default date format is: mdy.
Note that -d sets the display format and not the storage format, which is fixed. The date constants entered in procedures, or as initial values in the Data Dictionary, are always specified in month/day/year format.
To confirm the date format that your session is using use the following 4GL statement:
MESSAGE SESSION:DATE-FORMAT VIEW-AS ALERT-BOX.