home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / linux / 25257 < prev    next >
Encoding:
Text File  |  1993-01-24  |  1.3 KB  |  30 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!stanford.edu!nntp.Stanford.EDU!fanaraaken.Stanford.EDU!vera
  3. From: vera@fanaraaken.Stanford.EDU (James S. Vera)
  4. Subject: Re: NON-FAQ - date: CST instead of GMT?
  5. Message-ID: <vera.727838687@fanaraaken.Stanford.EDU>
  6. Sender: news@leland.Stanford.EDU (Mr News)
  7. Organization: Program Analysis and Verification Group, Stanford University
  8. References: <1993Jan23.060826.16026@wuecl.wustl.edu>
  9. Date: 24 Jan 93 01:24:47 GMT
  10. Lines: 18
  11.  
  12. ask1@cec2.wustl.edu (Andrew Scott Koransky) writes:
  13.  
  14. >This question was asked recently, but was left unanswered/misunderstood:
  15.  
  16. >I am having problems with date returning my time in CST vs GMT.  For
  17. >example, if the correct time is 23:00 CST:  I would try typing:  
  18. >date -s "23:00 CST" and then date outputs: Sun Jan 24 05:00:00 GMT 1993, the
  19. >time correctly specified as GMT, but I can't get date to output "23:00
  20. >CST".  Is there a way to do this, or do I just have to live with seeing
  21. >either the time in GMT or the local time specified as GMT?
  22.  
  23. I fixed this by creating a link from /usr/lib/zoneinfo/localtime to
  24. the appropriate timezone file (in my case
  25. /usr/lib/zoneinfo/US/Pacific)
  26.  
  27. James S. Vera       |         Internet         | Voice: +1.415.723.1089 
  28. Stanford University |  vera@anna.stanford.edu  | FAX:   +1.415.725.7398
  29.  
  30.