Date-Format

Hasan Haliciogl

New Member
I have a project on delphi and I want to set date format using odbc connection. But I couldn't succes to use SESSION:DATE-FORMAT = "DMY" commmand.
 

jongpau

Member
Hi Hasan,

The date-format in Progress just determines how Progress displays a date for internationalisation purposes within a Progress client session; it does not in any way change how the date is stored or represented "internally" within an application. So, as far as I know - and I will be happy to to be corrected here, there is no use for setting the Progress date format when using ODBC to retrieve data from a Progress data source. If you want to change the way the date is displayed in your Delphi App, you will have to either make Delphi display it the way you want it with some function OR fiddle around with the internationalisation in Delphi or your OS.

Paul
 

4GLNewbie

Member
I think Jongpau is rigth.

You ll have to make delphi show the field as you want and then, when saving data i suggest you to check if it is correct ( you should not have problems with it but it is better to be sure about ).
 
Top