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

Reply via email to