phoenix610
Member²
Oh, I have posted three topics at a time.
I want to ask you about DateTime format.
I have a table with both date field and timestamp field. But, these fields are diplayed
at a different format.
a date field is displayed like this.
'2005/09/01 12:10:15'
In this case, a display format of a date field depends on Windows locale settings.
a timestamp field is displayed like this.
'05-09-01 12:10:15.422000000'
In this case, a display format of a timestamp field igores Windows locale settings.
(TOracleSession.Preferences.TimestampAsString is true.)
If I want to display these values at the same format,
I have to re-parse values myself and display values?
Becaue my application allows a end-user to input the SQLStatement dynamically, it is hard works to specify the timestamp fields. I use not TOracleQuery but TOracleDataSet that does'nt have DOA FieldType() methods.
Thanks a lot.
I want to ask you about DateTime format.
I have a table with both date field and timestamp field. But, these fields are diplayed
at a different format.
a date field is displayed like this.
'2005/09/01 12:10:15'
In this case, a display format of a date field depends on Windows locale settings.
a timestamp field is displayed like this.
'05-09-01 12:10:15.422000000'
In this case, a display format of a timestamp field igores Windows locale settings.
(TOracleSession.Preferences.TimestampAsString is true.)
If I want to display these values at the same format,
I have to re-parse values myself and display values?
Becaue my application allows a end-user to input the SQLStatement dynamically, it is hard works to specify the timestamp fields. I use not TOracleQuery but TOracleDataSet that does'nt have DOA FieldType() methods.
Thanks a lot.