Kbase P102969: Is it possible to change the calendar type used in Progress ?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  4/7/2005 |
|
Status: Unverified
GOAL:
Is it possible to change the calendar type used in Progress ?
GOAL:
Does Progress use the calendar type of the OS ?
GOAL:
Is it possible to display dates according to the OS locale ?
FIX:
Progress has no native support for calendars other than Gregorian. Progress allows the 4GL client to use the -d (DMY,YMD,MDY or etc) parameter or the DATE function to set the output date format. But there is no locale support for date display format regardless what the default OS locale is.
Currently the only way is to implement your own support in the applications by converting the date format to the OS locale. The GetDateFormat() function of Microsoft is a good example. To do so, you need to access the OS locale through OS calls.