PostgreSQL and datestyle
Posted: Sat 21 Aug 2010 05:25
I have noticed that Unidac TUniQuery ignores the postgresql server's datestyle setting and instead relies on the Windows regional settings. This is not acceptable behavior for my application.
The server's datestyle is "ISO, YMD'; yet when I query a date field I get "mm/dd/yyyy" asstring unless I change the computer's regional setting for the date format.
How can I fix this?
The server's datestyle is "ISO, YMD'; yet when I query a date field I get "mm/dd/yyyy" asstring unless I change the computer's regional setting for the date format.
How can I fix this?