Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread Time Problem
Thu, Jan 23 2020 7:37 PMPermanent Link

KimHJ

Comca Systems, Inc

Using EWB and EDB I have a problem with the time.

When I save a time from a EWB app to the EDB field Time it saves it in UTC time.
I enter 12:00 AM and it saves it as 5:00 AM in EDB.
When load the data and display the time in the EWB app it shows 12:00 AM
The LocalizeDateTimeColumns is set to False in the Dataset.

When load the same field into a module created in Delphi it shows 5:00 AM

Is there away to change it so it saves the time in EDB that I enter in the EWB app?

Thanks,
Kim
Fri, Jan 24 2020 3:49 AMPermanent Link

Walter Matte

Tactical Business Corporation


Kim:

You can search UTC and find many posts.

Read this one.

https://www.elevatesoft.com/forums?action=view&category=ewb&id=ewb_general&page=1&msg=15053#15053

Maybe EWB 3 will be different.

Walter


KimHJ wrote:

Using EWB and EDB I have a problem with the time.

When I save a time from a EWB app to the EDB field Time it saves it in UTC time.
I enter 12:00 AM and it saves it as 5:00 AM in EDB.
When load the data and display the time in the EWB app it shows 12:00 AM
The LocalizeDateTimeColumns is set to False in the Dataset.

When load the same field into a module created in Delphi it shows 5:00 AM

Is there away to change it so it saves the time in EDB that I enter in the EWB app?

Thanks,
Kim
Image