Helene
Member³
I am using a pl/SQL function to return a table of objects. The object has a date attribute. I see that when using the
ObjElements [index].GetAttr('') function, the return value is a string.
I need to compare the returned date to another date in delphi, and need to make sure that this comparison is correctly performed regardless of different date format preferences that are used by our customers.
Will it be safe to assume that the format of this string is set using the ShortDateFormat variable on the client - so that I can use the StrtoDatetime function without checking the format? Or is the format determined on the database server side?
With regards, Helene
ObjElements [index].GetAttr('') function, the return value is a string.
I need to compare the returned date to another date in delphi, and need to make sure that this comparison is correctly performed regardless of different date format preferences that are used by our customers.
Will it be safe to assume that the format of this string is set using the ShortDateFormat variable on the client - so that I can use the StrtoDatetime function without checking the format? Or is the format determined on the database server side?
With regards, Helene