In client Java code, you can get your client browser date by new Date (). In server Java code the same code gives you the date about your server sytem. It depends on which one you want. They are not the same in most cases. It is the same if you test it in your local machine.
Jim http://www.gwtorm.com http://code.google.com/p/dreamsource-orm/downloads/list On May 1, 2:47 pm, Neo <[email protected]> wrote: > As I understand that whenever I need to fetch anything from the server > I have to use RPC. > > Now, I need to find the system's current date. I cant do it on my > client side code, so have to do it in my server code. But for this > trivial need do to I have to use RPC ? > > Please explain to me the best approach to use for getting the date ? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" 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/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
