⎕TS 2014 11 11 8 40 23 66 ⎕TZ ¯6 )load Utils SAVED 2014-11-11 00:27:03 (GMT-5) ⎕TS 2014 11 11 9 40 41 974 ⎕TZ ¯5
I didn't know about ⎕TZ. I'm not sure why it would be assignable, but if it is, it certainly shouldn't be in a saved workspace! If I give my workspace to someone in a different time zone, it would always be wrong. I just checked IBM APL2. They way it works makes sense. It works as follows: 1. ⎕TZ defaults as is correct for the local machine. 2. ⎕TZ is assignable. 3. Changing the value of ⎕TZ survives and is unchanged by )CLEAR and )LOAD. 4. )SAVE and )LOAD have no affect on ⎕TZ 5. If APL is exited and restarted, ⎕TZ returns to the local system appropriate value. If GNU APL did this. It would be perfect. Thanks. Blake On Tue, Nov 11, 2014 at 5:26 AM, Juergen Sauermann < juergen.sauerm...@t-online.de> wrote: > Hi Blake, > > could you please check if ⎕TZ has changed when this happens? > I had a look at the time related code but could not find anything wrong. > > /// Jürgen > > > > On 11/11/2014 06:45 AM, Blake McBride wrote: > > A more complete demo: > > ⎕TS > 2014 11 10 23 43 5 559 > )load Utils > SAVED 2014-11-11 00:27:03 (GMT-5) > ⎕TS > 2014 11 11 0 43 14 503 > )off > > Goodbye. > blake@sony-linux-laptop ~ $ date > Mon Nov 10 23:43:20 CST 2014 > > > The date from bash is correct. > > Thanks. > > Blake > > > On Mon, Nov 10, 2014 at 11:40 PM, Blake McBride <blake1...@gmail.com> > wrote: > >> The following is all within one minute: >> >> ⎕TS >> 2014 11 10 23 38 53 372 >> )Load Utils >> SAVED 2014-11-11 00:27:03 (GMT-5) >> ⎕TS >> 2014 11 11 0 39 6 39 >> >> >> >> >> On Mon, Nov 10, 2014 at 11:38 PM, Blake McBride <blake1...@gmail.com> >> wrote: >> >>> >>> ⎕TS >>> 2014 11 10 23 28 47 416 >>> . >>> . >>> . >>> ⎕TS >>> 2014 11 11 0 32 15 228 >>> )OFF >>> >>> Goodbye. >>> blake@sony-linux-laptop ~ $ date >>> Mon Nov 10 23:35:43 CST 2014 >>> >>> >>> All of the above lines were typed within a few minutes of each other, >>> i.e. the same hour. >>> >>> ⎕TS is sometime an hour off. Not sure what makes it mess up yet. >>> >>> Thanks. >>> >>> Blake >>> >>> >> > >