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


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to