determining timezone of internet site
    Paul Graham 
    pjg at acsu.buffalo.edu
       
    Mon Jul 16 10:50:24 AEST 1990
    
    
  
emv at math.lsa.umich.edu (Edward Vielmetti) writes:
|In article <74 at nic.cerf.net> pushp at 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.
    
    
More information about the Comp.unix.questions
mailing list