Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread LocalizeDateTimeColumns
Wed, Jul 1 2015 4:41 AMPermanent Link

Ronald

Hi,

I still do not understand when to use "LocalizeDateTimeColumns". Today (july
1 2015), I used the following statement:

tbTableX.Columns['adate'].AsDateTime:=Date;
ShowMessage(tbTableX.Columns['adate'].AsString);

This shows the date as june 30, 2015.

If I set LocalizeDateTimeColumns:=true then the correct date is shown.

The application runs on the localhost.

When must I set  LocalizeDateTimeColumns to true and when not?

Greetings,
Ronald
Thu, Jul 2 2015 3:29 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Ronald,

<< When must I set  LocalizeDateTimeColumns to true and when not? >>

You should use LocalizeDateTimeColumns=True if you want to see dates/times
in local time when entered/displayed as strings.

Tim Young
Elevate Software
www.elevatesoft.com
Image