how do you know what is in the database?
So you are saying with that property set to true.
If you insert a date in timezone X then read it back in in another client in timezone Y that client sees another time?
jcompagner wrote:set the property to true:
Client in TimeZone X sends Date X (10:00) -> send to server in TimeZone Z -> Date saved converted so that it is also seen as 10:00 at the server
Client in TimzeZone Y reads Date X and sees again that date converted to its own time also at 10:00
jcompagner wrote:which servoy version are you talking about?
in 3.5 the server time will not be converted when going from the server to the client (and when you save it will) so this isnt really correct yes (the client doesnt really 'see' the server time)
in 4.1.1+ this is fixed then if you ask the server time and it is 10 oclock it will be "10:00" when arriving in the client
and when saved it will really be savend as "10:00" (even if the client time is "12:00"
jcompagner wrote:you want to track what exactly?
client side method execution time? why do you need to have a server time for that?
You want to track when the method did start? or how long it toke?
jcompagner wrote:so then the only thing to store for example in a database is something like
clientid/userid | methodname | elapsed_time
and in another table you have something that maps a clientid/userid to a timezone.
then you dont have to get servertime that looks a bit heavy for me to track method execution (thats also a round trip again)
Users browsing this forum: Google [Bot] and 0 guests