home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / lang / c / 20355 < prev    next >
Encoding:
Internet Message Format  |  1993-01-29  |  1.5 KB

  1. Xref: sparky comp.lang.c:20355 comp.std.c:3445
  2. Path: sparky!uunet!ferkel.ucsb.edu!taco!gatech!emory!swrinde!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!spool.mu.edu!hri.com!noc.near.net!news.bbn.com!mips2!cass.ma02.bull.com!catfish.az05.bull.com!corvus!dgm
  3. From: dgm@corvus (David Matusow)
  4. Newsgroups: comp.lang.c,comp.std.c
  5. Subject: mktime
  6. Keywords: mktime time daylight savings
  7. Message-ID: <1993Jan28.150841.3794@catfish.az05.bull.com>
  8. Date: 28 Jan 93 15:08:41 GMT
  9. Sender: news@catfish.az05.bull.com (placeholder for future)
  10. Followup-To: dgm@adonis.az05.bull.com
  11. Organization: Online Communication Consultants
  12. Lines: 18
  13.  
  14. I am having some difficulty with the mktime function.  As you cand
  15. see from the following debug session, mktime is changing the hour
  16. of the tm structure.  It is my understanding that mktime() should 
  17. only modify the tm_yday and tm_wday components.  What is causing mktime()
  18. to perform this "majic" and what can I do to stop it?
  19.  
  20. My first thought is that this is caused by a daylight savings time
  21. problem.  Of course, dst is NOT in effect in December and is not
  22. in effect AT ALL here in Arizona.
  23.  
  24. Please forward my directly to me, as I seldom read this news group.
  25.  
  26. Thanks for the help,
  27. -- 
  28. David Matusow                                    Online Communication Consultants      
  29. dgm@adonis.az05.bull.com (on contract to Bull)   2015 N. Dobson Rd. Ste. 4-B10
  30. CS - 70243.2410@CompuServe.COM                   Chandler, AZ. 85224 
  31. (602) 862-5223 (at Bull)                         (602) 786-3533
  32.