> Whats happening in your code between the two Darned little. I can parametize whether I set _TZ or not and what I set it to and so it is easy to run debugging experiments. I can run the code with or without setting _TZ, and it works fine if I do not set _TZ. There is nothing else that I do "along with" setting _TZ. It's a pretty pure situation.
Do bugs happen? Have I ever been wrong before? Do I know about "but I didn't touch that part of the code"? Yes, of course. But I don't know what I could be doing to make my times 7 minutes off with some stupid internal bug. There is almost nothing between the ftime and the strftime. I would have to have a += 420 or a += 7 in there to account for it. I don't do any arithmetic at all between ftime and strftime. I just ran an experiment it which I ran through all of my setenv logic but set _TZ to "" -- no effect on the times; the times are correct. I tried setting it to PST8PDT -- same problem, seven minutes ahead of PST. I tried setting it to FOO -- no effect on times; the times are correct. It seems pretty unlikely that it is some side-effect in my code. Charles -----Original Message----- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On Behalf Of Scott Ford Sent: Friday, March 02, 2012 2:23 PM To: IBM-MAIN@bama.ua.edu Subject: Re: Why _TZ put times 7 minutes off? Charles, Whats happening in your code between the two ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN