On Sun, Jun 12, 2022 at 4:02 PM Jinwoo Lee <jinwo...@gmail.com> wrote:
> That's true. But my goal is not actually getting the timezone but getting
> the current time as unix time (seconds since 1970-01-01T00:00Z). It's
> surprising that J provides conversion functions to/from ISO 8601 time and
> J's nanosecond time but doesn't provide a way to retrieve the current
> nanosecond time.

Yeah...

And, conceptually, we ought to be able to do this with cd (15!:0) and
libc's gettimeofday.

That said, once you get down to nanosecond precision, you start
running into significant issues with the underlying standards.

-- 
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to