home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / std_unix / mod.std.unix.v6 / text0034.txt < prev    next >
Encoding:
Internet Message Format  |  1987-06-30  |  1.0 KB

  1. Date: Mon, 21 Jul 86 01:23:29 edt
  2. From: im4u!caip!mark@cbosgd.ATT.COM (Mark Horton)
  3. Organization: AT&T Bell Laboratories, Columbus
  4.  
  5. >System V also defines external variables for the current timezone and daylight
  6. >savings rule.  Are there any programs that actually use these?  Should they be
  7. >part of the interface as well?  (Or some equivalent functionality?)
  8.  
  9. Yes, there's an important use.  If you're generating an RFC 822 compatible
  10. >Date: line, you need to know the local offset from GMT or the time zone
  11. name.  You can't just plug in the time zone name, because only the names
  12. in the USA are allowed by 822, and if you try to extend that to the rest
  13. of the world, you run into ambiguities.  In general, you can't assume that
  14. someone in an arbitrary location in the world will understand your local
  15. name for your time zone.  So you have to generate a zone like "+hhmm".
  16.  
  17. One might even claim that, in a zone like Japan, asking for the time zone
  18. name should return "+0900" rather than "JST".  Probably not, but it's
  19. a thought.
  20.  
  21.     Mark
  22.  
  23. Volume-Number: Volume 6, Number 35
  24.  
  25.