Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!shelby!neon!cheshire From: cheshire@Neon.Stanford.EDU (Stuart David Cheshire) Newsgroups: comp.sys.mac.system Subject: Timekeeping Message-ID: <1991Feb25.203351.886@Neon.Stanford.EDU> Date: 25 Feb 91 20:33:51 GMT Organization: Computer Science Department, Stanford University Lines: 25 UNIX machines keep their clocks set to GMT, and all internal storage of time stamps is in GMT, communication across the net to other machines uses GMT, and the only time it is converted to local time zone is when it is to be printed out for a human to read. Macs on the other hand keep their clocks set to local time, and have to convert to GMT when talking to other machines on the net. This means that if I create a file at 11.00am Friday in England, and then fly to SFO, arriving 8.00pm local time, and turn my Mac on, the file says it was created 11.00am, which is when I clearly remember creating it. Unfortunately the meaning of this 11.00am is a little vague. It wasn't 11.00am California time, it wasn't 11.00am GMT (well it was, but only coincidentally), yet despite having no real meaning it seems to be the time which makes most sense to me as a human. Unfortunately, if I had travelled a little faster, or sent the file by e-mail it would make no sense at all to a backup program or a compiler trying to re-make a project. Questions: 1. How does System 7 work? Does it use GMT internally like UNIX? 2. What ideas do people have on this problem? Networks are getting bigger. Soon I will work on a joint project with people in London, getting my files from a server in New York. Unless we solve this problem of file timestamping we are all going to run into problems. Stuart Cheshire (cheshire@cs.stanford.edu)