Time Zone Problem.

Hi All,

My Servoy version is 5.2.11 and database is postgresql . I am displaying a date time along with time zone . I am displaying the server date time . The date and time are displayed of the server correctly . But timezone is not displaying correctly . It is showing the local client machine time zone. In the database the data is correct like "2012-02-08 “20:27:55.828-05” . My admin settings is servoy.use.client.timezone is true .

Thanks in advance . Waiting for your feedback.

what do you mean with displaying the date with time and timezone?
you mean the timezone from the date itself? Dates in java by itself is just a long internally, and the timezone is i guess what the default timezone of the client is

If you really want to store dates and a timezone then this must be 2 columns in the database.
1 the date/time as “2012-02-10 17:30” and the other a string column something like “CET”

Hi Johan,

Thanks for your reply.