Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!zaphod.mps.ohio-state.edu!maverick.ksu.ksu.edu!ux1.cso.uiuc.edu!lees.cogsci.uiuc.edu!resnick From: resnick@lees.cogsci.uiuc.edu (Pete Resnick) Newsgroups: comp.sys.mac.programmer Subject: Time ain't on my side Keywords: time, time zone, map Message-ID: <1990Aug2.003955.4443@ux1.cso.uiuc.edu> Date: 2 Aug 90 00:39:55 GMT Sender: usenet@ux1.cso.uiuc.edu (News) Distribution: comp Organization: University of Illinois at Urbana Lines: 28 I am trying to write a program that will set the system clock. I would like to check the time zone I am in and whether to use daylight savings. The less prompting of the user, the better, so: Is there any way to access the time zone from the "Map" cdev. It says in the documentation (when was the last time any of you looked in the Macintosh Utilties User's Guide, p, 124): "With Map, you can set the Current Location, which is stored in your Macintosh just like the time and date. You can call upon that location from application programs or from HyperCard." How? I looked in the cdev using ResEdit at the both the CTY# and MCFG resources, but the CTY# is just the list of cities and there is nothing deciferable in MCFG. What gives? Also, is there anything in System Software for determining daylight savings rules? If not, does anyone know the official rules, or know how to get them from the time gods in France, or wherever they may be? pr -- Pete Resnick (...so what is a mojo, and why would one be rising?) Graduate assistant - Philosophy Department, Gregory Hall, UIUC System manager - Cognitive Science Group, Beckman Institute, UIUC Internet/ARPAnet/EDUnet : resnick@kant.cogsci.uiuc.edu BITNET (if no other way) : FREE0285@UIUCVMD