The crux of it is that on transfer of time the client is converting time to
local timezone. On get/set of these values the time must be converted to
whichever timezone you would like to operate in.

Read this blog:

http://cookbooks.adobe.com/post_Date_time_transfer_in_BlazeDS-13114.html

Evan Klein
<http://cookbooks.adobe.com/post_Date_time_transfer_in_BlazeDS-13114.html>
On Sun, May 23, 2010 at 6:57 PM, raja_s_patil <[email protected]> wrote:

>
>
> Hello I am developing my first application in which I have to deal with
> time. On server side java VO i have defined the field as java.sql.Time
> and on flex side VO it has to be date.
>
> This is happening in windows XP client (browsers Firefox & Chrome)
> while inserting data I am making a fresh copy of Flex VO and time
> is set as 10:00:00 the timezone set for XP is +05:30 when its
> received at Java service its 10:23:20+0553 and gets saved to database
> as 10:23:20. When I retrieved from Java and send back to Flex for editing
> it comes back as 10:23:20+0553 and now if I set it again to 10:00:00 it gets
> saved properly. Means in edits no 00:23:20 additions
> are there but for inserts addition is there.
>
> I guess that since TimeZone is taken as +0553 rather than +0530
> 23 minutes might have added but what about 20 seconds why, where and how 00
> 23 20 being added ?
>
> Are any settings to be done on client side or server side.
> Server is KUbuntu 9.10 java latest installed from repository and windows
> xp being used as VM on Vmware all set up is on Dell Vostro 1710 Laptop.
>
> Thanks and best regards
>
> Raja
>
>  
>

Reply via email to