I order to do this, upon login, the client must send the server and hours different between localtime and gmt. The server should then take into account the difference when reporting time.
Massimo On Oct 17, 11:05 am, BearXu <[email protected]> wrote: > Is there any good solution to translate the timestamp in the server to > client's timezone and return it? > > 2009/10/17 mdipierro <[email protected]> > > > > > Make sure to timestamp with the GMT and not the local time. > > > On Oct 17, 9:36 am, BearXu <[email protected]> wrote: > > > If the Google servers are distributed globally, is that possible that I > > get > > > different time from different servers in different countries? > > > > 2009/10/17 mdipierro <[email protected]> > > > > > You can orderby but not by id. GAE does not support that and the id on > > > > GAE are not sequential anyway. You need to timestamp records and order > > > > by timestamp. > > > > > On Oct 16, 6:46 pm, BearXu <[email protected]> wrote: > > > > > Actually I want to desc orderbut the orderby=~db.table.id is also > > wrong > > > > > > 2009/10/17 BearXu <[email protected]> > > > > > > > if I write this into my select command using dev_server, it is > > wrong. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

