Is there a way to get "now" (at least) to millisecond accuracy in Julia?

Often, to find out what happens when you need the exact time in your code to profile your application or for other reasons. Obviously, now () does not provide this function, but is there another reasonably simple way to get "now" to millisecond precision?

+3
source share
1 answer

From the docs:

help?> time

  time()

  Get the system time in seconds since the epoch, with fairly high (typically, microsecond) resolution.

, DateTime. , . , tic() toq(), time_ns() time.

+3

Source: https://habr.com/ru/post/1606014/


All Articles