Timezones get to be... interesting, once you start trying to deal with moving systems.
The usual workaround is to adopt a standardized timezone to work in -- ignoring the time zone the machine was in when it started. That said, it Would Be Nice if we could do a better job here. -- Raul On Sun, Jun 12, 2022 at 3:49 PM Jinwoo Lee <jinwo...@gmail.com> wrote: > > I'm on Mac right now and only the solution with "date" seems to work, as > Brian suggested. > > It's quite surprising that J doesn't natively provide a way to get the > current time since "epoch". > > Anyway thanks, folks! > Jinwoo > > > On Sun, Jun 12, 2022 at 10:54 AM Raul Miller <rauldmil...@gmail.com> wrote: > > > So it looks like it's only windows where 2!:0 is broken. > > > > Possibly it never was implemented there? (I know, I know, I should > > investigate this rather than just speculating...) > > > > Thanks, > > > > -- > > Raul > > > > On Sun, Jun 12, 2022 at 12:43 PM Brian Schott <schott.br...@gmail.com> > > wrote: > > > > > > 2!:0'date +"%Z %z"' > > > EDT -0400 > > > > > > JVERSION > > > Engine: j807/j64/darwin > > > Release-c: commercial/2019-02-24T10:50:40 > > > Library: 8.07.26 > > > Platform: Darwin 64 > > > Installer: J807 install > > > InstallPath: /users/brian/j64-807 > > > Contact: www.jsoftware.com > > > > > > > > > -- > > > (B=) <-----my sig > > > Brian Schott > > > ---------------------------------------------------------------------- > > > For information about J forums see http://www.jsoftware.com/forums.htm > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm