> 'William Chops" Westfield ' > I'm not convinced. you KNOW the exact time in the past when it >> happened (the timestamp.) When do you care what that time was called? > > When you want to display it to a user, for example. > In my particular application, the logs are kept in UTC. When viewing the logs, the user may be interested in what time something happened based on where the user is, or may be interested in what time something happened where the device is, or may be interested in UTC time, especially when comparing with logs from other devices. So, the log only has the Unix timestamp of when the event occurred. When displaying the log, I show the time in UTC, the time at the GUI (where the user is), and the time at the device. The GUI generally knows whether DST is in effect where it is (the user has set his clock appropriately). However, it does not know whether DST is in effect where the device is. So, my current solution is to assume DST is in effect at the device if it is in effect at the GUI (and the device location observers DST at all - I have a flag for that) and provide a link for the user to toggle whether DST is in effect at the device location. THANKS for all the comments on this! Harold --=20 FCC Rules Updated Daily at http://www.hallikainen.com - Advertising opportunities available! --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .