II_DATE_FORMAT changing

Is there any supported way to change the date format set by
II_DATE_FORMAT on the fly from a (character-ABF) 4GL program?

I know how to do a "SET DATE_FORMAT" to tell the server what
date format to use, but that's not good enough.  I need to be able to
dynamically change the front-end's date format too.  (You don't
really want to know why.  I have no choice, at least in the short
term, meaning for the next several months minimum.)
I need to be able to save the current date format, set it to ISO
temporarily, and restore the saved date format.

Now, I've spent an interesting couple hours treasure-hunting, and
I now know how to call FEadfcb and use the returned address + sizeof(void *)
to get/set a date format code number.  This works, but obviously it's
highly illegal and unsupported.

-- 
Karl Schendel            Phone: (412) 963-8844
Telesis Computer Corp      Fax: (412) 963-1373
wiz@telesis.com
Ingres Q & A
To William's Home Page

© William Yuan 2000

Email William