Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!sunybcs!acsu.buffalo.edu From: pjg@acsu.buffalo.edu (Paul Graham) Newsgroups: comp.unix.questions Subject: Re: determining timezone of internet site Message-ID: <30753@eerie.acsu.Buffalo.EDU> Date: 16 Jul 90 00:50:24 GMT References: <5133@darkstar.ucsc.edu> <1990Jul14.063316.4303@iwarp.intel.com> <74@nic.cerf.net> Sender: news@acsu.Buffalo.EDU Distribution: usa Lines: 15 Nntp-Posting-Host: urth.acsu.buffalo.edu emv@math.lsa.umich.edu (Edward Vielmetti) writes: |In article <74@nic.cerf.net> pushp@nic.cerf.net (Pushpendra Mohta) writes: | Most domains are geographically ( read time-zone) contiguous. | A "WHOIS" record should return atleast a city name. |telnet to port 13 is what i'd do as a first pass... i sent mail to the original requestor suggesting that they use the smtp port since most (many, all?) bsd sendmail announce the date *and* local timezone. many (most, all?) daytime ports just return the time. while you can then determine timezone (which is what we're after here) i thought the simpler approach was better. granted using daytime makes shell script construction a bit easier.