Good point if you need all the machines to know ALL of the time zone data. I don't need that though since each machine is set to a timezone and left that way. They all communicate back to a central server and that is where the transactions are created and time-stamped. There is no need to keep all of those machines up-to-date with timezone information.
On Wed, Sep 30, 2009 at 9:06 AM, Fabrizio Giudici < [email protected]> wrote: > > Robert Casto wrote: > > I got a message from Sun today saying I should get their tool to make > > sure my machines are all having their times managed properly. > > > > > https://communications2.sun.com/servlet/cc6?kmgQUCAQSVJHklhQjhILjlxnuHptQJhuVaVRVupKVSSUYCBRYUCVLuHptXHKKjLkkVJHklhQjhILjlxnuHptQJhu > > > > I find this a loosing proposition. It is nearly impossible to get > > machines to agree on what time it is. > > > > I like to use the database to dictate the time a transaction happens. > > It is a controlled environment and much easier to keep in sync. I set > > it to Greenwich Mean Time (GMT) and then never change it. I translate > > that timestamp to whatever time I need at the application level. > > > > How does everyone else handle time? > Your approach seems reasonable (talking of UTC in place of GMT to be > picky), but I don't see the contradiction with Sun's message. How do you > translate the UTC timestamp correctly if you don't know the correct DST > settings? > > -- > Fabrizio Giudici - Java Architect, Project Manager > Tidalwave s.a.s. - "We make Java work. Everywhere." > weblogs.java.net/blog/fabriziogiudici - www.tidalwave.it/blog > [email protected] - mobile: +39 348.150.6941 > > > > > -- Robert Casto www.robertcasto.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "The Java Posse" 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/javaposse?hl=en -~----------~----~----~----~------~----~------~--~---
